php forum
php mysql forum
php mysql smarty
 
Topic Options
#221505 - 07/21/02 11:09 PM Move "Extra Information" to the top.
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I answered this for soneone over at the info pop board, I figured I'd post these simple instructions here for anyone else looking.<br /><br />The user wanted to move the Extra Information box (at the bottom of the Main Index) to the top. Here's how:<br /><br />You need to edit the ubbthreads.tmpl file inside the templates/default/ directory.<br />Scroll to the bottom..... just after where it says <br /><pre><font class="small">code:</font><hr><br /><!--END CATEGORY LOOP--><br /></pre><hr><br /><br />Cut from the <br /><pre><font class="small">code:</font><hr><br /><br /><br /></pre><hr><br /><br />Down through the:<br /><pre><font class="small">code:</font><hr><br />UBBTPRINT;<br /></pre><hr><br /><br />Paste it in the second line, just after:<br /><pre><font class="small">code:</font><hr><br /><? //UBBTREMARK<br /></pre><hr><br /><br />Then insert this....as line 2, just in front of what you just moved:<br /><pre><font class="small">code:</font><hr><br />echo <<<UBBTPRINT<br /></pre><hr><br /><br />then at the very end of the file, just above:<br /><pre><font class="small">code:</font><hr><br />/* UBBTREMARK */ ?><br /></pre><hr><br /><br />add:<br /><pre><font class="small">code:</font><hr><br />UBBTPRINT;<br /></pre><hr><br /><br />If you think there is too much space between your header and the Extra Information box, you can remove the first <br /><br />I think you'll probably want to remove that.<br />Hope that made sense. That should do it.


Edited by AllenAyres (09/25/02 10:15 PM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#221506 - 07/21/02 11:17 PM Re: Move "Extra Information" to the top. [Re: Daine]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
thanks Josh <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#221507 - 08/09/02 02:21 PM Re: Move "Extra Information" to the top. [Re: Daine]
Muhammad Offline
Kahuna

Registered: 09/26/99
Posts: 1289
Loc: Tucson, AZ
I did this exactly, and it seems to be repeating the extra information table before each category... <img src="/forum/images/icons/ooo.gif" alt="" /> Help! <img src="/forum/images/icons/smirk.gif" alt="" />
_________________________
Muhammad

Top
#221508 - 08/09/02 02:54 PM Re: Move "Extra Information" to the top. [Re: paulj]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Hey,<br /><br />My laptop died last night....with all my threads files. So until I get a case for this hard drive I won't have access to them to "play" and see if I missed a step.<br /><br />A couple of things..... did you "cut" (thus 'Move') the code for the extra info...or did you copy (thus duplicating)?<br /><br />I'll see if I can either find my access information to the member area, or a copy of the ubbthreads.tmpl file so I can check it out for you.<br /><br />Actually, if you would email me at []jtt@measurection.com[/] your ubbthreads.tmpl file, I'll take a peek and see what might be wrong. <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#221509 - 08/09/02 03:11 PM Re: Move "Extra Information" to the top. [Re: Daine]
Muhammad Offline
Kahuna

Registered: 09/26/99
Posts: 1289
Loc: Tucson, AZ
Thanks!
_________________________
Muhammad

Top
#221510 - 08/09/02 03:41 PM Re: Move "Extra Information" to the top. [Re: paulj]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Just sent the fixed file back to you. <img src="/forum/images/icons/smile.gif" alt="" /><br /><br />Above where I say:<br />Past it in the second line, just after:<br /><br />code:<br />------------------------------------------------------------------------<br /><? //UBBTREMARK<br /><br />Of course, I mistyped "paste" it in the second line. I should clarify that this becomes the new line 2. So it goes before the "for($c=0;$c<$catsize;$c++) { //UBBTREMERK" line as well... as this is what goes through the categories.<br /><br />Hope that helps! <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks