Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2001
Posts: 194
svr
Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 194
Hi all in the 5.47e forumdisplay.cgi,
the multiple pages (if number of messages go beyond a certain # as set in CP) show up as Page: 1 2 3
and so on.

Is there any way I can put the same URL tag on top of the table that shows all the topic?

I looked at the code and found $MoreTopicW variable in the following code:

[code][/code]


How by placing $MoreTopicW in top of the code where the mid section of the page is printed produces a BLANK value for $MoreTopicW

Is there any way I can setup so that the link shows up on top and bottom of the page? I guess it is a problem of the function that computes the # of links ???

Any help would be appreciated much! Thx!

Sponsored Links
Joined: Sep 2001
Posts: 194
svr
Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 194
Anyone wanna tell me why the Multipage links are not appearing on the top of the forumdisplay.cgi before the main table is displayed?

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Where is it placed usually? Is it at the bottom of the topic list?

Joined: Sep 2001
Posts: 194
svr
Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 194
yeah in 5.47e the mult. links url is on the bottom of the table. I want it on the top also. The file in question is forumdisplay.cgi. Thanks.

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
What I do when I get stuck is just slap ina print statement in a few different places
eg
print "Im here 1";
then run your code and see where the print statements come out. Once you find the one you want, you go back to your code and voila, you have the section of code you need to edit in front of you.


I can't afford a good signature editor frown
Sponsored Links
Joined: Oct 2000
Posts: 290
Member
Member
Offline
Joined: Oct 2000
Posts: 290
Confirmed here on a 5.45c board. frown

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
OK Try moving....
$MoreTopicsW

To where it has..

sub TopicTopHTML {

And put it somehwre in that sub of code like it is with the Bottom one.
Joined: Oct 2000
Posts: 290
Member
Member
Offline
Joined: Oct 2000
Posts: 290
Hmmm, I'll give that a try tonight...but I don't expect it to work. AS it is normally, the $MoreTopicsW is called in sub TopicBottomHTML....and where I am trying to put it is in sub TopicMidHTML and the variable is not assigned yet. Having said that I doubt it will be assigen when sub TopicTopHTML is called. I'm game for anything though! smile

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Ohhh. Well then there's more code to change then what I added.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2658
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 24
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)