Version: 1.00, by Manoel J?nior
Developer Last Online: May 2023
Category: Miscellaneous Hacks -
Version: 4.x.x
Rating:
Released: 10-02-2011
Last Update: 10-02-2011
Installs: 30
Uses Plugins
Re-useable Code Translations
No support by the author.
*OVERVIEW*
This plugin will make a random default images avatar show for all users if the user does not have an avatar. This works in the postbit. It uses the image "images/avatars/patch_images/" by default, which is used in several locations for the same purpose, and works on vB 3.6+ and vB 3.8.x. This is editable in the Admin CP.
- sequential numbers
- support extensions: gif|png|jpg|jpeg
* INSTALLATION *
1- Upload your images with sequential numbers for you directory images.
2- Import the product XML file (product-mnl_random_avatar) into the Product Manager in AdminCP.
3- Set the options in Manoel Random Avatar.
4- Make sure this add-on is marked as 'Installed' on vBulletin.org!
Hello Manoel, im using vB 4.2.x, and when i enable your plugin, i can see an error message on showthread (any thread page), this:
"Parse error: syntax error, unexpected ':' in /home/myusername/public_html/includes/class_postbit.php(345) : eval()'d code on line 113"
That file:
113 case 'announcement':
114 require_once(DIR . '/includes/class_postbit_alt.php');
115 $out = new vB_Postbit_Announcement();
116 break;
117
118 case 'pm':
119 require_once(DIR . '/includes/class_postbit_alt.php');
120 $out = new vB_Postbit_Pm();
Hello Manoel, im using vB 4.2.x, and when i enable your plugin, i can see an error message on showthread (any thread page), this:
"Parse error: syntax error, unexpected ':' in /home/myusername/public_html/includes/class_postbit.php(345) : eval()'d code on line 113"
That file:
113 case 'announcement':
114 require_once(DIR . '/includes/class_postbit_alt.php');
115 $out = new vB_Postbit_Announcement();
116 break;
117
118 case 'pm':
119 require_once(DIR . '/includes/class_postbit_alt.php');
120 $out = new vB_Postbit_Pm();
any fix for this pls?
Are all of your images numbered sequentially starting with number 1 and endfing with the number of images, not missing any? And the number of exact images in that directory in settings?
Thanks for reply man, they are named like: avatar1.gif - avatar100.gif
and i had wrong count: 99. actually its 100. So i fixed it and reenabled the Mod. This message still show up after flushing cache. Any idea pls?
Did you change anything in class_postbit before you uploaded?
look in line 113 for that extra ":" in the code.
Maybe re-download and re-upload to your server? Might have got a corrupt file?
(I just noticed that a few ppl have had the same problem. I am wondering if there is a mod conflict. I dont have that problem so I wonder what mod might do that. Have you tried disabling your other mods and seeing if it workes, and then bringing back each mod one at a time to see if one of them makes the problem?)