![]() |
Basically I think you've hit it on the head... Here's how I see it. vB sessions obviously update every time a page is loaded. For instance I used to have a frame with a news.php file [custom code] pulling my news in a different format. This page was obviously loaded after the index.php, so Who's On-line picked up my location as news.php. Now obviously this is working slightly differently with vBShout, as it's pointing to index.php, but say's you're viewing vbshout.php. View your vbshout.php in your browser, looks like XML to me. The template on the CMPS, and Forum Home are including that XML file to get the shouts onto the page. As a result, the session makes vB think you're on vbshout.php [which is right, because it was the last vB page loaded] yet you are still in fact on index.php [the reason for it linking back to that page]. I think vB is the problem, at least when handling the way vBShout works, and the way sessions are generated needs to be updated.
|
I was mistaken, I just realized. It's not pointing to index.php even though it says viewing the shoutbox. It is, in fact, pointing to vbshout.php.
I wonder if there's a way to make index.php (or the main cmps PHP file) send new session info or update session info at the END of the script, in other words after vbshout.php has been called? |
This is a stab in the dark but I'm guessing a session is updated around the time global.php is called. So every time global.php is called you'll be recorded as viewing the .php file in which that reference runs. So as it stands, I don't see how it could be sorted. I'm not a coder though heh.
|
any news on removing the Time ?
thx |
Is there any way to move the shoutbox to right or left corner by removing the font and color selector ?
|
The font and colour selector are not present in this version... With regard to moving the time, I didn't get a chance last night sorry.
|
one more thing...the hack works a treat...apart from thoe mentioned.
but.... smilies show up as red "x"`s.....and the member.php issue is still a problem..click on a members name, and i get a page cannot be displayed error |
Still not looked at removing the date - sorry.
Gizmo, where are your forums on your server, and where is your CMPS? Did you edit any of the template? |
@FleaBag .. thx 4 publishing our modification here.. more user more ideas :-)
I tried to fix the member.php problem ... here is my result: Find in the template forumhome_vbshout_shout: PHP Code:
(change YOUR-FORUM-PATH/ to your forumfolder!!! example: forum/member.php?{$session...... ) PHP Code:
PHP Code:
I could not test it yet, but it should work .. please give us feedback, perhaps FleaBag can edit his first Thread with this changes. |
It works great and i love the instructions you guys put up, but i dont see the Smilies link. Is there a way to add it?
|
All times are GMT. The time now is 04:20 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|