Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   [FIX] TSSE 5.4.1 Extra Fixes (http://www.bvlist.com/showthread.php?t=2837)

mmisu120000 16th June 2009 10:23

[FIX] TSSE 5.4.1 Extra Fixes
 
1. Forum: bbcodes, html codes not working (i looked at the code and the forum version is 5.3);
2. (solved) When entering Staff Panel or Tracker settings, after redirect the link is wrong (.../admin/admin/settings.php - 2 /"admin")
3. (solved) In UserCP, when you change the theme, after redirect the link is wrong ... if you click Back in your browser it's OK

How i solved problem 3:

find:
PHP Code:

redirect ($_SERVER['SCRIPT_NAME'] . '?act=edit_privacy'$lang->usercp['saved6']); 

and replace it with:
PHP Code:

redirect ('/usercp.php' '?act=edit_privacy'$lang->usercp['saved6']); 

find:
PHP Code:

redirect ($_SERVER['SCRIPT_NAME'] . '?act=edit_theme_language'$lang->usercp['saved8']); 

and replace it with:
PHP Code:

redirect ('/usercp.php' '?act=edit_theme_language'$lang->usercp['saved8']); 

find:
PHP Code:

redirect ($_SERVER['SCRIPT_NAME'] . '?act=edit_details'$lang->usercp['saved1']); 

and replace it with:
PHP Code:

redirect ('/usercp.php' '?act=edit_details'$lang->usercp['saved1']); 

find:
PHP Code:

redirect ($_SERVER['SCRIPT_NAME'] . '?act=edit_signature'$lang->usercp['saved2']); 

and replace it with:
PHP Code:

redirect ('/usercp.php' '?act=edit_signature'$lang->usercp['saved2']); 


PS. By the way, the tracker works for 2 years now, no problems encountered.
Last month I decided to reopen it for "bussiness", but it seems there are very few uploaders ... who wants to be a member in the WDW Staff, can register at WDW Tracker and become an uploader, first, and a member of staff, maybe, afterwords...

Ashur 16th June 2009 23:48

if anybody still using 5.4.1 please test it out too also check if it will fix ver 5.6

thanks for sharing :)

mmisu120000 17th June 2009 10:08

you're wellcome, Ashur...

Now, for the record, the solution I gave it's for problem 3 , not 2, my bad ... please edit the post accordingly.

I'll post the problem 2 solution today

I did'nt test them on 5.6, but i guess it will work there too. (It's a problem of cache and sessions management)

Ashur 18th June 2009 03:56

Fynnon beat me to it and edited the post
but cool work buddy, will look into forward for other fixes from you :D

fireman 22nd June 2009 04:32

what is the exact file that we need to fix with these lines :coffee:

mmisu120000 22nd June 2009 12:19

Quote:

Originally Posted by fireman (Post 12579)
what is the exact file that we need to fix with these lines :coffee:

usercp.php

Syn 22nd June 2009 19:31

anyone can attach final fixed file?

mmisu120000 22nd June 2009 22:24

1 Attachment(s)
Quote:

Originally Posted by Syn (Post 12605)
anyone can attach final fixed file?

Here it is:
Attachment 1460

Ashur 22nd June 2009 23:34

Quote:

Originally Posted by mmisu120000 (Post 12612)
Here it is:
Attachment 1460

man you spoil these users hehe :D

btw I didn't apply the fixes but still working ok on my side weird aye?

mmisu120000 25th June 2009 21:41

Quote:

Originally Posted by Ashur (Post 12613)
man you spoil these users hehe :D

btw I didn't apply the fixes but still working ok on my side weird aye?

It depends of the server ... on linux it allmost allways works fine without fix ... because of the kernel used

On windows ... viceversa :) it doesn't allways work, so you need to fix usercp ...

It's exactly like the bbcodes in forums and comments ... some work, some not, don't ask me why (ask xamshit, maybe ... :wallbash:)

btw, i've found that if you use the align bbcodes codes in texts and comments, they appear fine eventualy .... I'm digging hard on this, so far no result .. but i'll keep on trying .....


All times are GMT +2. The time now is 13:01.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.