vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Random Signatures For Admins, Mods (https://vborg.vbsupport.ru/showthread.php?t=110691)

DementedMindz 03-17-2006 10:00 PM

Random Signatures For Admins, Mods
 
################################################## ###############
## MOD Title: Random Signature
##
## PNP Version: 1.0.0
##
## MOD Author: DementedMindz
##
## MOD Description: Allows you to have a random sigs displayed on your site
##
## Installation Level: Easy
## Installation Time: 1 minute
## Files To Edit (#): .htaccess
##
## Lines To Add: 4
##
################################################## ############
## Included Files: sig.php
##
################################################## ############
## Author Notes:
##
##
## Any suggestions, issues, changes, ideas, comments, etc please post them in the thread
##
## Features:
##
## Randomly displays jpg, gif, png sigs or images.
##
##
## Additional:
##
## This currently will only work with jpgs, gifs, and pngs.
##
## This will also only work with Apache sites that allow you to edit the .htaccess file
##
## You must have at least 2 valid image files in the directory
##
## In theory this should work with any site that allows signatures or images
##
##
##
################################################## ############
## History:
##
## 2006-03-17 - Version 1.0.0
## - Created
##
################################################## ############
## Before Adding This MOD To Your Site, You Should Back Up All Files Related To This MOD
################################################## ############
#
# Here starts the Installation, follow the steps very close and be sure that you have found the
# correct lines
#
# STEP NUMBER I: Copy Files
#
Copy sig.php to the root of your site
Create a /sigs folder
Copy all the sigs you want to be displayed in that folder (DO NOT UPLOAD thumbs.db or anything else invalid)
#
# STEP NUMBER II: Modifying existing Files
#
#
#-----[ OPEN ]------------------------------------------
# This should be on the root of your public_html or www and is the first file
.htaccess
#
#-----[ AT THE END ADD ]--------------------------------
#
Code:


RewriteEngine on
#Index
RewriteRule ^sig.gif sig.php [L]

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------------------
#
#-----[ NOTES ]-----------------------------------------
#
http://www.yoursite.com/sig.gif
will work any where actually so feel free to play with it
#
#-----[ NOTES ]-----------------------------------------
#
If you want to use this for anything else like avatars
Simply change the sig.php to whatever.php
Open whatever.php and change
$dir = "./sigs/";
To:
$dir = "./whatever/";
Then follow the above steps again changing sig to whatever
#
#-------------------------------------------------------

hiiped 03-17-2006 11:17 PM

great job DementedM

DementedMindz 03-17-2006 11:18 PM

thank you, please click install :) also this should be able to be used for all versions of vbulletin :)

Snake 03-18-2006 11:50 AM

Well done!

DementedMindz 03-18-2006 12:14 PM

thanks :)

webgroup 06-01-2006 12:46 PM

could this be made to only affect certain usergroup and only users without any signature set on their profiles?

thank!

MSheraz86 11-19-2006 12:24 AM

This is Awesome!!!!! Gonna use it for Sigs and Avatars :D

Thanks!

PinkDaisy 12-04-2006 10:24 PM

Is there a way this can work with reg. members as well?? I know IPB use to have something like this where you could have any or all membergroups use this feature, but the links/sigs/graphics would be read from where they have them hosted.

SaN-DeeP 12-04-2006 10:39 PM

quite interesting modification, might try this out :)


All times are GMT. The time now is 02:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00968 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete