Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
^^^

[This message was edited by Charles Capps on September 05, 2002 at 03:01 PM.]

Anonymous
Unregistered
Anonymous
Unregistered
*a visual of Charles sitting at his desk pops up*

"Damn... I KNEW I forgot something!" <img src="https://www.ubbcentral.com/boards/images/graemlins/laugh.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
...

The code's in there. Funcs pntfGetCacheForForum, pntfGetCacheForSummary, pntf_append.

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
OK, I found the problem.

ultimatebb.php has:
Code
	$in = rawurlencode(find_environmental("QUERY_STRING"));
But do you remember the ";" bug? So it thought $in->{ubb} is 'get_topic;f' (until the next =), and it's not in the list of commands.

Fix: Replace that line with:
Code
	$in = rawurlencode(ereg_replace(";", "", find_environmental("QUERY_STRING")))

Anonymous
Unregistered
Anonymous
Unregistered
*forehead slap*

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
Related:

I LOVE the new Recent Visitors option.

It seems to me that views of threads are only counted if a user clicks on the thread link from a forum summary. If a user starts reading a post from a few days back and then repeatedly click the "next topic" or "previous topic" buttons to read multiple threads, only the initial click is counted.

I tested this out myself on my own board. Can something be fiddled with in order to have a "next topic" or "previous topic" click counted in the views?

Thanks,

Helice
]http://foolmoon.com

Anonymous
Unregistered
Anonymous
Unregistered
Unfortunately, that's not possible easily. The code that records Recent Visitors occurs before the code that determines what the next/prev topic is. <img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" />

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
Anyway... I take it that LK's fix works? <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
It works in my board <img src="https://www.ubbcentral.com/boards/images/graemlins/tongue.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
Quote
*forehead slap*
Does that mean that this is a bug, and that LK's solution is the correct one?

Anonymous
Unregistered
Anonymous
Unregistered
Yes, and this has been fixed in 6.2.1.

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
Anyone notice sometimes when the page is pulled from the cache (PHP) ultimatebb.php. The recent visitors table (mine is on top) changes colors and the font size increases? A simple re-fresh in the browser fixes it.

I'm using v6.2.1

Thanks.

Anonymous
Unregistered
Anonymous
Unregistered
Can you catch a screencap of before and after?

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Gizmo, Nightcrawler), 553 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)