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 ???
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.
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!
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.