Wicher's phpBB2 Mods Forum Index Wicher's phpBB2 Mods
On this board you will find all phpBB2 mods that i have created over the years. Most mods are on this board installed. Before asking for support, be sure to have your board updated to the latest phpBB2 version.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Simple db_update generatorSimple db_update generator   Advanced db_update generatorAdvanced db_update generator 
 This board is protected by Phpbbantispam 

Random_Dynamic_Signature_PhpBB

 
Board Alert Board Message
There are in this topic 40 posts to view if you are logged in.

You can log in or register via the login / registerlink here or in the header.
Back to top  Login here and be redirected to this TopicLogin here and be redirected to this Topic RegisterRegister
Reply to topic    Wicher's phpBB2 Mods Forum Index -> Wicher's phpBB Mods Was this Topic Helpful?  
Points for this topic: 3
Topic gradiation: 
View previous topic :: View next topic  
Author Random_Dynamic_Signature_PhpBB
Wicher
Site Admin


Joined: 16 Dec 2005
Posts: 1144
User's local time:
2024 Dec 07 - 1:12 AM
Country IP         : Netherlands
Country of choice: Netherlands


Was This Post Helpful?

 
Users postingpoints:
58
Posts points:
2
Post gradiation:
PostPosted: Fri Feb 24, 2006 3:55 am    Post subject: Reply with quote




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:
  1. ##############################################################
  2. ## MOD Title: Random_Dynamic_Signature_PhpBB
  3. ## MOD Author: Wicher <N> (N/A) http://www.wichersmods.nl
  4. ## MOD Author: Feldon <N> (N/A) N/A
  5. ##                                             
  6. ##                                               
  7. ## MOD Description: Random Dynamic phpBB Signature, a great way to promote your forums.
  8. ##               No mather if you want to use a gif, jpg or png as background,
  9. ##               you can even use them together in the same directorie.
  10. ##               There is no limit what number of background images you can use.
  11. ##               In viewonline and in adminpanel you can see if someone is viewing your sig at another site.
  12. ##                  The sig keep track of how many times it has been displayed.
  13. ##
  14. ## MOD Version: 3.0.0
  15. ##
  16. ## Installation Level: Easy
  17. ## Installation Time: 5 Minutes (1 minute with easymod)
  18. ## Files To Edit:       viewonline.php
  19. ##                  admin/index.php
  20. ##                  RandomSig/randomsig.php
  21. ##                      language/lang_english/lang_main.php
  22. ##
  23. ## Included Files:       .htaccess
  24. ##                  RandomSig/randomsig.php
  25. ##                  RandomSig/randomsig.png
  26. ##                  RandomSig/Randomsigbacks/signatureback.gif
  27. ##                  RandomSig/Randomsigbacks/signatureback.jpg
  28. ##                  RandomSig/Randomsigbacks/signatureback.png
  29. ##
  30. ## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
  31. ##############################################################
  32. ## For security purposes, please check: http://www.phpbbhacks.com
  33. ## for the latest version of this MOD. Although MODs are checked
  34. ## before being allowed in the MODs Database there is no guarantee
  35. ## that there are no security problems within the MOD. No support
  36. ## will be given for MODs not found within the MODs Database which
  37. ## can be found at http://www.phpbbhacks.com
  38. ##############################################################
  39. ## Author Notes:
  40. ##  Go to your profile at any phpBB board and type the following in as your signature:
  41. ##  [ur=http://www.YOURDOMAIN/FOLDER_WHERE_PHPBB_IS][img]http://www.YOURDOMAIN/FOLDER_WHERE_PHPBB_IS/RandomSig/randomsig.png[/img][/url]
  42. ##  Now your signature will be displayed under your messages with a link to your board.
  43. ##############################################################
  44. ## MOD History:
  45. ##
  46. ##   2006-Apr-5 - 3.0.0
  47. ##      - First release 
  48. ##
  49. ##############################################################
  50. ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
  51. ##############################################################
  52. #
  53. #-----[ DIY INSTRUCTIONS ]------------------------------------------
  54. #
  55. 1. Create one or a bunch of NAME_OF_YOUR_CHOICE.png, jpg and/or png image with dimensions that you see fit.
  56.    Copy it to the folder RandomSig/Randomsigbacks.
  57.    The examples signatureback.png, jpg and gif are 468x60pixels, the width and heigth of a standard banner.
  58. 2. OPEN RandomSig/randomsig.php
  59.    Edit the file.
  60.    There are commentlines that tell you what to do.
  61.    Save the randomsig.php as randomsig.png
  62. 3. You can copy any TTFont of your choice to the folder RandomSig/SigFonts.
  63.    Using other fonts will result in having to edit some more in RandomSig/randomsig.php.
  64. #
  65. #-----[ SQL ]------------------------------------------
  66. # note: change "phpbb_" prefix to whatever prefix you use.
  67. # If you dont know how to use this with phpmyadmin you can also execute install/RandomSig_install.php from your browser.
  68. DROP TABLE IF EXISTS `phpbb_randomsig`;
  69. CREATE TABLE `phpbb_randomsig` (
  70.   `sig_count` bigint(20) unsigned NOT NULL default '1',
  71.   PRIMARY KEY  (`sig_count`),
  72.   KEY `sig_count` (`sig_count`)
  73. ) TYPE=MyISAM;
  74. INSERT INTO `phpbb_randomsig` (`sig_count`) VALUES (1);
  75. #
  76. #-----[ COPY ]------------------------------------------
  77. #
  78. RandomSig/*.* TO RandomSig/*.*
  79. RandomSig/RandomSig_install.php TO install/RandomSig_install.php
  80. #
  81. #-----[ OPEN ]------------------------------------------
  82. #
  83. RandomSig/randomsig.php
  84. #
  85. #-----[ FIND ]------------------------------------------
  86. # Nothing to find, just edit the file. There are commentlines that tell you what to do.
  87. # Save the randomsig.php as randomsig.png
  88. #
  89. #-----[ OPEN ]------------------------------------------
  90. #
  91. viewonline.php
  92. #
  93. #-----[ FIND ]------------------------------------------
  94. #
  95.             case PAGE_INDEX:
  96.                $location = $lang['Forum_index'];
  97.                $location_url = "index.$phpEx";
  98.                break;
  99. #
  100. #-----[ AFTER, ADD ]------------------------------------------
  101. #
  102.             case PAGE_SIG:
  103.                $location = 'Random Signature Display';
  104.                $location_url = "RandomSig/randomsig.$phpEx";
  105.                break;
  106. #
  107. #-----[ OPEN ]------------------------------------------
  108. #
  109. admin/index.php
  110. #
  111. #-----[ FIND ]------------------------------------------
  112. #
  113.                   case PAGE_INDEX:
  114.                      $location = $lang['Forum_index'];
  115.                      $location_url = "index.$phpEx?pane=right";
  116.                      break;
  117. #
  118. #-----[ AFTER, ADD ]------------------------------------------
  119. #
  120.                   case PAGE_SIG:
  121.                      $location = 'Random Signature Display';
  122.                      $location_url = "RandomSig/randomsig.$phpEx";
  123.                      break;
  124. #
  125. #-----[ FIND ]------------------------------------------
  126. #
  127.                case PAGE_INDEX:
  128.                   $location = $lang['Forum_index'];
  129.                   $location_url = "index.$phpEx?pane=right";
  130.                   break;
  131. #
  132. #-----[ AFTER, ADD ]------------------------------------------
  133. #
  134.                case PAGE_SIG:
  135.                   $location = 'Random Signature Display';
  136.                   $location_url = "RandomSig/randomsig.$phpEx";
  137.                   break;
  138. #
  139. #-----[ OPEN ]------------------------------------------
  140. #
  141. includes/constants.php
  142. #
  143. #-----[ FIND ]------------------------------------------
  144. #
  145. define('PAGE_GROUPCP', -11);
  146. #
  147. #-----[ AFTER, ADD ]------------------------------------------
  148. #
  149. define('PAGE_SIG', -12); // Increase "-12" if already in use!
  150. #
  151. #-----[ OPEN ]------------------------------------------
  152. # Do this for all languages you have
  153. language/lang_english/lang_main.php
  154. #
  155. #-----[ FIND ]------------------------------------------
  156. #
  157. //
  158. // That's all Folks!
  159. // -------------------------------------------------
  160. #
  161. #-----[ BEFORE, ADD ]------------------------------------------
  162. #
  163. // RSigphpbb
  164. $lang['RSigphpBB_Users'] = ' Users';
  165. $lang['RSigphpBB_Topics'] = ' Topics';
  166. $lang['RSigphpBB_Posts'] = ' Posts';
  167. $lang['RSigphpBB_Newest'] = 'Newest User';
  168. $lang['RSigphpBB_Attachments'] = ' Attachments';
  169. $lang['RSigphpBB_Chat'] = 'Chatter';
  170. $lang['RSigphpBB_Chatters'] = 'Chatters';
  171. $lang['RSigphpBB_Logged'] = ' Logged In and ';
  172. $lang['RSigphpBB_guest'] = ' Guest';
  173. $lang['RSigphpBB_guests'] = ' Guests';
  174. $lang['RSigphpBB_Catagories'] = ' Catagories';
  175. $lang['RSigphpBB_In'] = ' in ';
  176. $lang['RSigphpBB_ThisSig'] = 'This signature has been called upon ';
  177. $lang['RSigphpBB_AroundGlobe'] = ' times from around the globe';
  178. #
  179. #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
  180. #
  181. # 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:
  1. <FilesMatch>
  2.    SetHandler x-httpd-php
  3. </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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Post new topic    Reply to topic    Wicher's phpBB2 Mods Forum Index -> Wicher's phpBB Mods
Author Random_Dynamic_Signature_PhpBB Replies
Display posts from previous:   
Post new topic   Reply to topic    Wicher's phpBB2 Mods Forum Index -> Wicher's phpBB Mods All times are GMT

Was this Topic Helpful?  
Points for this topic: 3
Topic gradiation: 
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

This board is protected by Phpbbantispam
Powered by phpBB © 2001, 2005 phpBB Group

Googlepage: GooglePullerPage
IP Country Flag 2.9.4 © 2005, 2007 - 3Di (aka 3D)