Archive

Posts Tagged ‘VBulletin’

Cannot access admin panel after migration vbulletin

Upload tools.php from the do_not_upload folder into your admincp folder. Point your browser to it and reset the cookie domain. You cannot simply do that to one field in the database.

Before pointing the browser to the page , add the below given code in includes/config.php
.Add this line right under <?php

define(‘DISABLE_HOOKS’, true);

That would fix the issue

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Vbulletin Tags: ,

Invalid Redirect URL After Upgrade

NOTE : I do not recommend this solution . Though you can follow this temporarily.

I have fixed this issue by commenting the below given code from the page includes>functions.php.

if (!$foundurl) {
eval(standard_error(fetch_error(‘invalid_redirect_url_x’, $vbulletin->url)));
}

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Vbulletin Tags: ,

Code to display the option to select languages – vbulletin

<vb:if condition=”$show['languagechooser']“>
<select name=”langid” onChange=”switch_id(this, ‘lang’)”>
<optgroup label=”{vb:rawphrase quick_language_chooser}”>
{vb:raw languagechooserbits}
</optgroup>
</select>
</vb:if>
EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Vbulletin Tags: ,

Code to display the option to select templates – vbulletin

<vb:if condition=”$show['quickchooser']“>
<select name=”styleid” onChange=”switch_id(this, ‘style’)”>
<optgroup label=”{vb:rawphrase quick_style_chooser}”>
{vb:raw quickchooserbits}
</optgroup>
</select>
</vb:if>
EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Vbulletin Tags: ,

vbulletin Allow Users To Change Styles

1) Login to admin panel
2) Expand the “Settings” menu, and then click “Options”
3) Select the value “Style & Language Settings” from the drop down Setting Group
4) Check the value “Yes” under the tab  Allow Users To Change Styles
EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Vbulletin Tags: ,

vbulletin set default style

1) Login to admin panel
2)Expand the “Settings” menu, and then click “Options”
3) Select the value “Style & Language Settings” from the drop down Setting Group
4) Select the value from the drop down under the tab “Default Style”

 

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Vbulletin Tags: ,

How To Backup your vBulletin Database

1) Login to your forum account
2) Click on the “Admin” link at the bottom of the page to get to the admin control panel.
3) Expand the “Maintenance” menu, and then click “Database Backup”
EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Vbulletin Tags: ,

Script to automatically delete a user – VBulletin

1)Create a file with desired name (let it be vb_delete.php) with the following code

require_once(‘class.forumops.php’);
$clientdata = unserialize($_POST['post']);
$forum = new ForumOps();
$errmsg = $forum->delete_user($clientdata['username']);
if ($errmsg) echo $errmsg;
else echo “User deleted successfully.
n”;

NOTE :You can download the script using the url http://wp.me/p1aZaf-1d

2)Upload the file to the server the vBulletin installed

3)Paste the below given code , immediately after the code that update the user details .

$clientdata = array( ‘username’ => $username);
$url=”http://www.example.com/forum/vb_delete.php”;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, array(“post” => serialize($clientdata)));
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$store = curl_exec ($ch);
echo $store;
curl_close ($ch);
exit;*/
// http://www.example.com/forum/ is the location where vbulletin is installed

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Vbulletin Tags: , ,

Switch to our mobile site