req soem hacks

HERE U GO...ENJOY :)


Stamps (CSRF protection added)
PSD Incl

Installation:
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
2. upload the files under folder upload
3. Enter the option and edit it as u like

To set options:
Go to: AdminCP > vBulletin Options > Stamps Options

allow Moderators to stamp threads :
Go to: Forums & Moderators > Show All Moderators > select the Moderator
> [Edit Permissions] > at the end of the page u will find "Can Do Stamp", choose " Yes"

Main Features:
- Select the ( style of best threads - position of stamp in thread )
- Repeat Stamp Pic in thread
- Number of threads to be shown on the table Of the best threads see the last 2 screens
- Default time to remove stamps
- stamped threads speed ( just works with the table ( move to Up )
- allow all Moderators or some of them to stamp the topics ( admin group is the only group u can't disallow from stamping .. do disallow them you need to Edit there permission Manually one by one )

Tested:
vBulletin Version : 3.7.0 & 3.7.1


BritePic Integration

Britepic is a service from Adbrite which includes ads in your images.
Here's a demo: BritePic - Bring life to your images

If you want to use this mod you first will need an account with Adbrite/Britepic.

You can make an account here: https://www.adbrite.com/mb/britepic_landing_page.php?refer_source=britepic

Open the file includes/class_bbcode.php
Search the line (~line 1950 ):

Code:
return '<img src="' .  $link . '" border="0" alt="" />';

And replace with:

Code:
return '<script>
 britepic_id="your_unique_britepic_id";
 britepic_src="' .  $link . '";
</script>
<script src="http://www.britepic.com/britepic.js"></script>
<noscript>
<img src="' .  $link . '" alt="" />
</noscript>';

Do not forget to put your BritePic ID in the Replacement code above.


Resize IMG tag with Highslide!

his is small hack and easy to resize large Images in tag with using Highslide.
Work with vbb 3.6.x and 3.7.x

Author: Thái Ngọc & Mỹ Tú.
Plugins: 2
Templates: 2
Folder to upload: 1
Time to install: 1 minute max

LIVE DEMO: by nirvana43
[url=http://www.projectsplanet.com/robotics-projects/574-wireless-unmanned-ground-vehicle-pick-place-robot-college-project.html]Wireless Unmanned Ground Vehicle - Pick And Place Robot College Project - Projects Planet - Engineering, Diploma And All Kind Of Technical College Students Lounge[/url]


New Install:
1. Upload folder 'highslide' into forum root.

2. Edit file 'includes/class_bbcode.php'
find: inline 1940 ~ 1955

[CODE]
return '<img src="' . $link . '" border="0" alt="" />';[/CODE]

Replace with:

[CODE]
/* Start Image RESIZE */

$navigator_user_agent = ( isset( $_SERVER['HTTP_USER_AGENT'] ) ) ? strtolower( $_SERVER['HTTP_USER_AGENT'] ) : '';
if (stristr($navigator_user_agent, "msie")) {
return '<a href="' . $link . '" class="highslide" onclick="return hs.expand(this)" ><img src="' . $link . '" border="0" alt="" style="width: expression(this.width > 340 ? 180 : true);" /></a>';
} else {
return '<a href="' . $link . '" class="highslide" onclick="return hs.expand(this)" ><img src="' . $link . '" border="0" alt="" style="max-width: 430px;" /></a>';
}
/* End Image RESIZE */[/CODE]

You can change max width resize.

3. Import XML File: AdminCP -> Plugin System -> Manage Products -> Add / Import Product : product-hs_resize_1.3.xml

[b]Update: Use highslide for Attachment Thumbnail[/b]
4. Open Temp. postbit_attachmentthumbnail
Replace with:

[CODE]<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]" class="highslide" onclick="return hs.expand(this)" id="attachment$attachment[attachmentid]"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1&d=$attachment[thumbnail_dateline]" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" style="width: expression(this.width > 140 ? 80 : true);" /></a>
&nbsp;<if condition="$show['br']"><br /><br /></if> [/CODE]

###################
Upgrade:
3. Import XML File: AdminCP -> Plugin System -> Manage Products -> Add / Import Product : product-hs_resize_1.3.xml

Remember check: Allow Overwrite: YES
###################

[b][u]Email reminder for inactive users 1.1.3[/u][/b]
ATTACHED BELOW

[b][u]Image Resizer[/u][/b]
ATTACHED BELOW

Image resizer for vBulletin version 3.6 and 3.7.
version: 1.0.2

What is this?
This resizes images in post that are bigger than the set dimensions in your AdminCP options. It also adds an information bar (which is not displayed when the image isn't resized) giving information about the original dimensions and filesize. Filesize is only supported on Internet Explorer, other browsers don't reveal this information through javascript.

Configuration
Please read the included readme.html
 
Back
Top