quickreply in archive
techu Offline
Member
***
Posts: 154
Joined: Sep 2010
Post: #4
RE: quickreply in archive
Imran Wrote:I don't think it works, unless you add some code to archive/index.php file. Like the one below;

PHP Code:
$posthash = md5($mybb->user['uid'].random_str());
$codebuttons = build_mycode_inserter();
eval("\$quickreply = \"".$templates->get("showthread_quickreply")."\";");


and add $quickreply variable to archive template.

Yes I know but in place of eval("\$quickreply = \"".$templates->get("showthread_quickreply")."\";"); I think I have to directly put the html because archive do not use template system.


(09-22-2010 03:56 PM)ZiNgA BuRgA Wrote:  Maybe, depending on how good you are with copying and pasting.  Give it a shot if you feel like it.
You probably won't get AJAX working easily though.

Believe me I am very good at copying, I can pass a whole exam just by copying....WinkTongue

ok I will give it a try...
I do not want ajax, I will just make the page to reload...

[Image: banner.png]
09-22-2010 07:40 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
quickreply in archive - techu - 09-22-2010, 02:16 PM
RE: quickreply in archive - Imran - 09-22-2010, 03:47 PM
RE: quickreply in archive - ZiNgA BuRgA - 09-22-2010, 03:56 PM
RE: quickreply in archive - techu - 09-22-2010 07:40 PM
RE: quickreply in archive - FBI - 10-17-2010, 12:14 AM
RE: quickreply in archive - clemens - 01-20-2011, 01:03 AM

 Standard Tools
Forum Jump: