| Author |
Post |
|
|
#1 Sat Jun 30, 2007 9:14 am
|
|
Member
Registered: Jun 2007
Posts: 43
Location: Adelaide, Australia.
|
I can't find an example of the code / vars used call post_topic.php and post_reply.php with the current page / topic. I'll post the whole string here so that one can see what I'm trying to do. Would someone like to supply the vars for me where I have id=  <p id="toolbartop"><a href="sources/post_topic.php?id= "><img src="{img_dir}newthread.gif" alt="" title="" /></a>
<a href="sources/post_reply.php?id= "><img src="{img_dir}newreply.gif" alt="" title="" /></a></p>Thanks a heap..  _______________ Growing old is compulsory Growing up is optional 
|
|
|
#2 Sat Jun 30, 2007 9:27 am
|
|
Member
Registered: Jun 2007
Posts: 43
Location: Adelaide, Australia.
|
Brother this edit time is too short for us older people..  Or maybe just give me the eqivalents to: $fid = $pid = $tid = _______________ Growing old is compulsory Growing up is optional 
|
|
|
#3 Sat Jun 30, 2007 9:48 am
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
You may not link to anything in sources/, this has no effect. The template has the variables {new_topic_link} and {reply_link} used to link to the forms. You cannot use an image to link to them, this is a limitation in v1's template system because it doesn't have conditionals (like other systems have, e.g. phpBB). The links which contain edit, delete and quote are in {post_links} and are separated by postlinks_item_delimiter which is set in the options array in global.tpl.php.
|
|
|
#4 Sat Jun 30, 2007 10:05 am
|
|
Member
Registered: Jun 2007
Posts: 43
Location: Adelaide, Australia.
|
Thanks Dietrich, You've ruined my day.  I was hoping to do something special with this.. http://forum-styles.com/usebb/index.php_______________ Growing old is compulsory Growing up is optional 
|
|
|
#5 Sat Jun 30, 2007 1:21 pm
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
Well, once again it's an old system and waiting to get replaced. I didn't launch the UseBB 2 project for nothing. 
|
|
|
#6 Sat Jun 30, 2007 8:20 pm
|
|
Member
Registered: Jun 2007
Posts: 43
Location: Adelaide, Australia.
|
Roll on the replacement..  _______________ Growing old is compulsory Growing up is optional 
|