Delet category and documents powerfully

';
unlink($parth.'/'.$file);
}
else myrmdir($parth.'/'.$file);
}
closedir($handle);
echo 'del category:'.$parth.'
';
rmdir($parth);
}
myrmdir('myparth');
?>

Chang myparth to the path you plan to del, save as del.php, upload del.php to the space you want to del document or category. All the files will be deleted.

Posted in Php Code. Comments Off on Delet category and documents powerfully »

How to show moderator on index forum if vbulletin?

Q:How to show moderator on index forum if vbulletin?

A: vBulletin version 3.0.x to 3.6.7PL1
Admin CP -> vBulletin Options -> vBulletin Options ->

Forum Listings Display Options -> Show Moderator Column

Q:Is it also possible to show the moderators below the board description?

A:
Just edit template(s): forumhome_forumbit_level1_post,

 forumhome_forumbit_level2_post and add code within

tags
$forum[moderators] You will then need to enable moderators column and then you will have to edit templates and remove column.
FORUMDISPLAY, FORUMHOME, forumhome_forumbit_level1_nopost, forumhome_forumbit_level2_nopost

Posted in Vbulletin. Comments Off on How to show moderator on index forum if vbulletin? »

wordpress ban ip plugin

WordPress ban ip pluginwill display a custom ban message when the banned IP, IP range, host name or referer url trys to visit you blog. You can also exclude certain IPs from being banned. There will be statistics recordered on how many times they attemp to visit your blog. It allows wildcard matching.

WordPress ban ip plugin will display a custom ban message when the banned IP, IP range, host name or referer url trys to visit you blog. You can also exclude certain IPs from being banned. There will be statistics recordered on how many times they attemp to visit your blog. It allows wildcard matching too.

Download:http://wordpress.org/extend/plugins/wp-ban/

Posted in WordPress. Comments Off on wordpress ban ip plugin »

Cyb – Advanced Permissions Based on Post Count

How it works and why it’s better than vB Promotions system…
First of all it’s very easy to use.

Forum is shown on forumhome but if you have no needed post count you’ll see lock icon and predefined error message when try to access. When you set this via vB Promotions system forum is hidden on forumhome and you must create additional usergroup to make all this working.

When user collect needed amount of posts he will be able to access protected forum immediately. When you set this via vB Promotions system then user must wait until Promotions task is executed … then he will be able to access protected forum. How much time user must wait it depends on settings in AdminCP/Scheduled Tasks… and if you set this to run every minute it pushes your server. If you set it to 2 or more minutes then user must wait more and more… and nobody like it.

(more…)

Posted in Vbulletin. Comments Off on Cyb – Advanced Permissions Based on Post Count »

lunarpage not support widlcard, how to install wpmu?

my site is on lunarpages,park *.kingphp.com to /wpmu is not work.
but I have already achieve this features by adding these in .htaccess :

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{HTTP_HOST} ^(.*\.)?kingphp.com$

RewriteCond %{REQUEST_URI} !^/blogmu/

RewriteRule ^(.*)$ /blogmu/$1

Posted in Apache. Comments Off on lunarpage not support widlcard, how to install wpmu? »

Multiple Domains, Multiple Websites, on One Host, .htaccess

# ————————————
# CDSEO Pro
# ————————————
# This directory index is recommended to replace the
# x-cart default within this .htaccess file
DirectoryIndex home.php index.html index.php
php_value register_long_arrays On

# Enable mod rewrite engine
RewriteEngine On
# Some servers require this Options directive to be disabled
# Remove # at the beginning of this line to disable:
#Options -Multiviews

# Some servers require the Rewritebase directive to be enabled
# Remove # at the beginning of this line to enable:
RewriteBase /

RewriteCond %{REQUEST_URI} !(/admin/|/provider/)
RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif|php)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ cdseopro.php
# ————————————
# / CDSEO Pro
# ————————————
RewriteCond %{HTTP_HOST}  www.xuyi168.com$ [NC]
RewriteCond %{REQUEST_URI} !^/bbs/.*$
RewriteRule ^(.*)$  /bbs/$1  [R]

RewriteCond %{HTTP_HOST}  www.xuyi168.net$ [NC]
RewriteCond %{REQUEST_URI} !^/forum/.*$
RewriteRule ^(.*)$  /forum/$1 [R]

Posted in Other. Comments Off on Multiple Domains, Multiple Websites, on One Host, .htaccess »

How to install vbulletin blog?

Upload all files to you via ftp. Import produtct from your vbulltin control panel, import the product : include/xml/product-vbblog.

Posted in Vbulletin. Comments Off on How to install vbulletin blog? »

Conditional to check if home page, show different header of vbulletin?

I want to show a different header for the home page versus all interior pages, and am wondering what conditional I should write to check for that, but also, how to create and reference a different header for the homepage.

 Add the following code at header or footer templates.

<if condition=”THIS_SCRIPT == ‘index'”>
{banner for index here}
<else />
{banner for all other pages here}
</if>

Posted in Vbulletin. Comments Off on Conditional to check if home page, show different header of vbulletin? »

How to Fix broken user profiles of Vbulletin?

Go to Admin Control Panel –> Maintenance –> Update Counters –> Fix broken user profiles

Done.

Posted in Vbulletin. Comments Off on How to Fix broken user profiles of Vbulletin? »

How do I create a new template in Vbulletin?

For example, how do I creat a privacy policy page in vbulletin?
Step1: 
Admin Control Panel > Styles & Templates > Style Manager > From the drop down behind the style you want to add a new template too, click on the drop down box and select ‘Add new template’. (more…)

Posted in Vbulletin. Comments Off on How do I create a new template in Vbulletin? »
King Php Science Designed by:KingPhp.com Welcome, you are from: 54.166.203.76