UseBB Community

The official board for UseBB help and discussion

UseBB Community » Resources & Customization » Adding hard-buttons

Adding hard-buttons

Moderators: Gaia.

Page: 1

Author Post
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 :mrgreen:
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 :mrgreen:
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.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Jun 2007
Posts: 43
Location: Adelaide, Australia.
Thanks Dietrich,

You've ruined my day. :P

I was hoping to do something special with this..

http://forum-styles.com/usebb/index.php
_______________
Growing old is compulsory
Growing up is optional :mrgreen:
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. ;)
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Jun 2007
Posts: 43
Location: Adelaide, Australia.
Roll on the replacement.. :) :)
_______________
Growing old is compulsory
Growing up is optional :mrgreen:

Page: 1

UseBB Community » Resources & Customization » Adding hard-buttons

UseBB Community is powered by UseBB 1 Forum Software