[REQ] modifications

HERE YOU GO..NEXT TIME BE PATIENT :)

Hide Admin in "Who is Online" and "Profil"

Description: Hide Admin in "Who is Online" and "Profil"
Recommandation: Install this plugin(hide-invisible-users)(ATTACHED BELOW) so: vBulletin.org Forum - View Single Post - invisible for real

* In the whosonlinebit template, to the top, add:

Code:
<if condition="$userinfo['userid'] != 1">

* In the same template, at the bottom, add:

Code:
</if>

* In the memberinfo template, find:

Code:
<if condition="$show['lastactivity']">

* Add before:

Code:
<if condition="$userinfo['userid'] != 1">

* In the same template, find:

Code:
<div>$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time]&nbsp;</div>

* Add after:

Code:
</if>

Google Custom Search Engine Integration [AdSense capable]

Instructions:

1) Download the plugin(rcgs)(ATTACHED BELOW) and install the plugin by importing the XML file
2) Edit the new template: navbar_GoogleCustom_Search
3) Go to the Google Coop Site , navigate to your custom search engine control panel, click on "Code", choose the last Layout with the note "Watermark requires Javascript", now you see something like this:


Code:
<!-- Google CSE Search Box Begins  -->
  <form id="searchbox_123412344xxxx672729:-gj4xxodxro" action="http://google.com/cse">
    <input type="hidden" name="cx" value="00309xxxxxxxxx12672729:-gjxxxodxxo" />
    <input type="hidden" name="cof" value="FORID:1" />
    <input name="q" type="text" size="40" />
    <input type="submit" name="sa" value="Search" />
  </form>
  <script type="text/javascript" src="http://google.com/coop/cse/brand?form=searchbox_00309026xxxxxx2729%3A-gj4q4od4ro"></script>
<!-- Google CSE Search Box Ends -->

Copy this code into notepad or some other text editor as you need to make a couple of changes to this code, basically you have to wrap a table around it with the standard vbulletin style classes. The changes are pretty straight forward, that's how it should look like:


Code:
<!-- Google CSE Search Box Begins -->
<form id="searchbox_123412344xxxx672729:-gj4xxodxro" action="http://google.com/cse">
<table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead">Google Custom Search</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
    <input type="hidden" name="cx" value="00309xxxxxxxxx12672729:-gjxxxodxxo" />
  <input type="hidden" name="cof" value="FORID:1" />
  <div><input class="bginput" name="q" type="text" size="25" /><input type="submit" name="sa" class="button" value="Go" /></div>
  </td>
        </tr>
           </table>
  	</form>
  <script type="text/javascript" src="http://google.com/coop/cse/brand?form=searchbox_00309026xxxxxx2729%3A-gj4q4od4ro"></script>
<!-- Google CSE Search Box Ends -->

I marked some attributes red so you don't forget them . Copy it back into the vBulletin template, save it and that's it! If you want to have your google custom search engine associated to your AdSense Account hit "Make Money" in the GCS Panel and fill in your AdSense ID.

Enjoy!


Simple Profile Pic Gallery

Instructions to install:

1. Upload picgallery.php to your forums directory
2. Install the product in the zip file
3. Add a link for picgallery.php somewhere in the navbar

The default is set for 15 pics per page and 3 per row, and this can be overriden in the vBulletin Options area of the ACP.

Enjoy!


Mod Scan link virus online(check link by Drweb)

Tested on 3.7.0, it working good
Setup Mod:

Step 1 : Upload 'vcheckvirus.php' (ATTACHED BELOW) to root folder (forum).
Step 2 : Go into AdminCP.
Plugins & Products -> Manage Products -> Click [Add/Import Product] -> Select file 'product-vcheckvirus.xml'.
Click 'Import'.
Step 3 (Config) :
Go into AdminCP.
vBulletin Options ---> Click 'vBulletin Options' , drag your mouse down, you will get ' vCheckVirus' and double click on it to get your config.
(Note: Local address: enter domain website. Example: khoahocphothong.net)


Live Demo: KHOA HỌC PHỔ THÔNG
 
Back
Top