Wicher Site Admin
Joined: 16 Dec 2005 Posts: 1144 User's local time: 2024 Dec 07 - 1:12 AM Country IP : Country of choice:
Was This Post Helpful?
Users postingpoints:
Posts points:
Post gradiation:
|
Posted: Fri Feb 24, 2006 3:55 am Post subject: |
Wicher
*Delete this user
Items with prefix * are permanent. | Close |
|
|
When you want to use this, download below attachment.
The zip contains all you need.
You will have to create a directory for example RandomSig.
Now copy the contents from the zip file in to that directory.
Follow instructions in the install3.0.0.txt for how to do things.
If you want additional items to display in your signature, please take a look at this post:
http://www.wichersmods.nl/viewtopic.php?p=227#227
Code: |
- ##############################################################
- ## MOD Title: Random_Dynamic_Signature_PhpBB
- ## MOD Author: Wicher <N> (N/A) http://www.wichersmods.nl
- ## MOD Author: Feldon <N> (N/A) N/A
- ##
- ##
- ## MOD Description: Random Dynamic phpBB Signature, a great way to promote your forums.
- ## No mather if you want to use a gif, jpg or png as background,
- ## you can even use them together in the same directorie.
- ## There is no limit what number of background images you can use.
- ## In viewonline and in adminpanel you can see if someone is viewing your sig at another site.
- ## The sig keep track of how many times it has been displayed.
- ##
- ## MOD Version: 3.0.0
- ##
- ## Installation Level: Easy
- ## Installation Time: 5 Minutes (1 minute with easymod)
- ## Files To Edit: viewonline.php
- ## admin/index.php
- ## RandomSig/randomsig.php
- ## language/lang_english/lang_main.php
- ##
- ## Included Files: .htaccess
- ## RandomSig/randomsig.php
- ## RandomSig/randomsig.png
- ## RandomSig/Randomsigbacks/signatureback.gif
- ## RandomSig/Randomsigbacks/signatureback.jpg
- ## RandomSig/Randomsigbacks/signatureback.png
- ##
- ## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
- ##############################################################
- ## For security purposes, please check: http://www.phpbbhacks.com
- ## for the latest version of this MOD. Although MODs are checked
- ## before being allowed in the MODs Database there is no guarantee
- ## that there are no security problems within the MOD. No support
- ## will be given for MODs not found within the MODs Database which
- ## can be found at http://www.phpbbhacks.com
- ##############################################################
- ## Author Notes:
- ## Go to your profile at any phpBB board and type the following in as your signature:
- ## [ur=http://www.YOURDOMAIN/FOLDER_WHERE_PHPBB_IS][img]http://www.YOURDOMAIN/FOLDER_WHERE_PHPBB_IS/RandomSig/randomsig.png[/img][/url]
- ## Now your signature will be displayed under your messages with a link to your board.
- ##############################################################
- ## MOD History:
- ##
- ## 2006-Apr-5 - 3.0.0
- ## - First release
- ##
- ##############################################################
- ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
- ##############################################################
-
- #
- #-----[ DIY INSTRUCTIONS ]------------------------------------------
- #
- 1. Create one or a bunch of NAME_OF_YOUR_CHOICE.png, jpg and/or png image with dimensions that you see fit.
- Copy it to the folder RandomSig/Randomsigbacks.
- The examples signatureback.png, jpg and gif are 468x60pixels, the width and heigth of a standard banner.
-
- 2. OPEN RandomSig/randomsig.php
- Edit the file.
- There are commentlines that tell you what to do.
- Save the randomsig.php as randomsig.png
-
- 3. You can copy any TTFont of your choice to the folder RandomSig/SigFonts.
- Using other fonts will result in having to edit some more in RandomSig/randomsig.php.
-
- #
- #-----[ SQL ]------------------------------------------
- # note: change "phpbb_" prefix to whatever prefix you use.
- # If you dont know how to use this with phpmyadmin you can also execute install/RandomSig_install.php from your browser.
- DROP TABLE IF EXISTS `phpbb_randomsig`;
- CREATE TABLE `phpbb_randomsig` (
- `sig_count` bigint(20) unsigned NOT NULL default '1',
- PRIMARY KEY (`sig_count`),
- KEY `sig_count` (`sig_count`)
- ) TYPE=MyISAM;
-
- INSERT INTO `phpbb_randomsig` (`sig_count`) VALUES (1);
-
- #
- #-----[ COPY ]------------------------------------------
- #
- RandomSig/*.* TO RandomSig/*.*
- RandomSig/RandomSig_install.php TO install/RandomSig_install.php
- #
- #-----[ OPEN ]------------------------------------------
- #
- RandomSig/randomsig.php
- #
- #-----[ FIND ]------------------------------------------
- # Nothing to find, just edit the file. There are commentlines that tell you what to do.
- # Save the randomsig.php as randomsig.png
-
- #
- #-----[ OPEN ]------------------------------------------
- #
- viewonline.php
-
- #
- #-----[ FIND ]------------------------------------------
- #
- case PAGE_INDEX:
- $location = $lang['Forum_index'];
- $location_url = "index.$phpEx";
- break;
-
- #
- #-----[ AFTER, ADD ]------------------------------------------
- #
- case PAGE_SIG:
- $location = 'Random Signature Display';
- $location_url = "RandomSig/randomsig.$phpEx";
- break;
- #
- #-----[ OPEN ]------------------------------------------
- #
- admin/index.php
-
- #
- #-----[ FIND ]------------------------------------------
- #
- case PAGE_INDEX:
- $location = $lang['Forum_index'];
- $location_url = "index.$phpEx?pane=right";
- break;
-
- #
- #-----[ AFTER, ADD ]------------------------------------------
- #
- case PAGE_SIG:
- $location = 'Random Signature Display';
- $location_url = "RandomSig/randomsig.$phpEx";
- break;
-
- #
- #-----[ FIND ]------------------------------------------
- #
- case PAGE_INDEX:
- $location = $lang['Forum_index'];
- $location_url = "index.$phpEx?pane=right";
- break;
-
- #
- #-----[ AFTER, ADD ]------------------------------------------
- #
- case PAGE_SIG:
- $location = 'Random Signature Display';
- $location_url = "RandomSig/randomsig.$phpEx";
- break;
-
- #
- #-----[ OPEN ]------------------------------------------
- #
- includes/constants.php
-
- #
- #-----[ FIND ]------------------------------------------
- #
- define('PAGE_GROUPCP', -11);
-
- #
- #-----[ AFTER, ADD ]------------------------------------------
- #
- define('PAGE_SIG', -12); // Increase "-12" if already in use!
-
- #
- #-----[ OPEN ]------------------------------------------
- # Do this for all languages you have
- language/lang_english/lang_main.php
- #
- #-----[ FIND ]------------------------------------------
- #
- //
- // That's all Folks!
- // -------------------------------------------------
- #
- #-----[ BEFORE, ADD ]------------------------------------------
- #
- // RSigphpbb
- $lang['RSigphpBB_Users'] = ' Users';
- $lang['RSigphpBB_Topics'] = ' Topics';
- $lang['RSigphpBB_Posts'] = ' Posts';
- $lang['RSigphpBB_Newest'] = 'Newest User';
- $lang['RSigphpBB_Attachments'] = ' Attachments';
- $lang['RSigphpBB_Chat'] = 'Chatter';
- $lang['RSigphpBB_Chatters'] = 'Chatters';
- $lang['RSigphpBB_Logged'] = ' Logged In and ';
- $lang['RSigphpBB_guest'] = ' Guest';
- $lang['RSigphpBB_guests'] = ' Guests';
- $lang['RSigphpBB_Catagories'] = ' Catagories';
- $lang['RSigphpBB_In'] = ' in ';
- $lang['RSigphpBB_ThisSig'] = 'This signature has been called upon ';
- $lang['RSigphpBB_AroundGlobe'] = ' times from around the globe';
-
- #
- #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
- #
- # EoM
-
|
Quote: |
It can happen the htaccess file is not working for you.
If you call opun the signaturephpbb.png file and get only a page full of code, you might wanna try this .htaccess file:
Code: |
-
- <FilesMatch>
- SetHandler x-httpd-php
- </FilesMatch>
|
|
_________________
Wicher's phpBB2 Mods | Wicher's phpBB3 Mods | Statistics Mod 4.x.x
Last edited by Wicher on Tue Jan 03, 2012 8:13 pm; edited 14 times in total |
|