couldn't find who posted this originally but this is the postbit & or
postbit_legacy fix
change from this
Code:
<dt>{vb:raw post.crowns}{vb:raw post.champtext}</dd>
to this
Code:
<dd>{vb:raw post.crowns} {vb:raw post.champtext}</dd>
full scroll on postbit scrolling crown
https://vborg.vbsupport.ru/showpost....postcount=6645
members getting logged out when submitting score?
delete the contents of holdsession.php or comment it all out and save then upload..
there are 2 other other wways if you would like to try
I have not tested them
fixes are here in this quoted post but I am not 100% sure vb4 needs them
this was originally for vb3
[s]
Quote:
Originally Posted by kh99
I'm new to all this stuff, and I don't claim to understand most of what the arcade code does. But I was tracking down a problem with scores not saving in IE and I found that the problem was related to the code around line 3375, which seems to be some sort of fix for a problem with IE. Around line 3439 or so there's a check that looks like it determines if the amount of time the game was played is reasonable, but I was finding that the time was 0 and so I was getting an "Error #005" 'your score will not be saved' message. This seems to be related to the fix at 3375 which sets the game start time to the current time. The problem is that the game end time is also the current time. I "fixed" this by subtracting 1 from the game start time around line 3375, so the code in that area now reads:
Code:
$vs['sessd'] = 1;
$vs['start'] = $gametime - 1.0;
$vs['randchar1'] = $randomchar;
$vs['randchar2'] = $randomchar2;
$genscore = $player_score * $vs['randchar1'] ^ $vs['randchar2'];
Maybe this is server-dependent so that it doesn't happen for everyone.
--------------- Added [DATE]1256259354[/DATE] at [TIME]1256259354[/TIME] ---------------
Another problem I found with scores not saving is that people get logged out while playing, then their browser "hangs" when it tries to save the score (assuming they haven't checked "remember me" when loggin in). I found that the "holdsession.php" file wasn't working to keep the user logged in, for two different reasons. One is that there's an error in the file. On the last line starting with "echo", there's an extra backslash right after 'URL=', so after URL there should be no backslash between the '=' and the double quotes.
Also, at least in version 3.8.3 of vB, the session was still not being held because the 'lastactivity' time was never getting written to the database. I tracked this down to the fact that it's done using "shutdown_query", which doesn't execute the query until the end of the page request, but since "holdsession.php" doesn't use any of the vB output functions, the query never gets executed. I fixed this by adding a call to "exec_shut_down();" as the last line in holdsession.php.
|
[/s]