greatergood
New Member
Ok, I had been looking for a way to fix DarkvB v2 to work with the latest versions of vBulletin, And i had even posted a request for the fixed XML earlier. But to get to the point, I have found a very easy way to fix token errors on a vBulletin skin. I will detail this below.
Step 1:
Login to your admincp and go to
Styles & Templates>Search in Templates
Now look for where it says
"Find and Replace in Templates (be careful!)"
And in the first box enter,
And in the second box enter,
Notice how we are using the first box to find what where we want to add the security token code, And the second box to add the code, The way we are doing this is by having the first bit of code "value="$session[sessionhash]" />" in the first box so the script will find that in all of your templates, And we include that same code in the second box along with what we want to add in beneath it, Took me most of the day to get it right, But i finally got it working, Now just make sure to uncheck where it says "Test search" and click "Find" And it will run through several pages, Just keep clicking "Next Page" until it is done, Now all templates that could possibly cause the dreaded "Token Error" Should be fixed. I have tested this on DarkvB v2 for 3.6.4 (Only one posted here on vBteam) And it worked like a charm, If you have questions please PM me because i don't often check my posts after i post them lol.
Hope this helped you!
Step 1:
Login to your admincp and go to
Styles & Templates>Search in Templates
Now look for where it says
"Find and Replace in Templates (be careful!)"
And in the first box enter,
Code:
value="$session[sessionhash]" />
And in the second box enter,
Code:
value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
Notice how we are using the first box to find what where we want to add the security token code, And the second box to add the code, The way we are doing this is by having the first bit of code "value="$session[sessionhash]" />" in the first box so the script will find that in all of your templates, And we include that same code in the second box along with what we want to add in beneath it, Took me most of the day to get it right, But i finally got it working, Now just make sure to uncheck where it says "Test search" and click "Find" And it will run through several pages, Just keep clicking "Next Page" until it is done, Now all templates that could possibly cause the dreaded "Token Error" Should be fixed. I have tested this on DarkvB v2 for 3.6.4 (Only one posted here on vBteam) And it worked like a charm, If you have questions please PM me because i don't often check my posts after i post them lol.
Hope this helped you!