![]() |
Pip System
Pip System Hack
By mx3/Hyper22shadow What this does is display an image a certain amount of times based on post count in the postbit. Demo: http://www.ugfederation.com/forums (check any thread) Screenshot: https://vborg.vbsupport.ru/attachmen...&postid=421155 Contact: Hyper22Shadow@cableone.net for email, or you can contact me via AIM. My AIM name is Hyper22Shadow2 I just made this today, it appears to be working fine for me...Any bugs just post them here and i'll try to help as best i can. Enjoy! |
Screenshot:
|
Isn't that what the "Stars" in the image folder are for?
|
Uhm...
Can you rephrase that? Sorry....a bit tired... Wait...do you mean the thread rankings? If so, no...this has nothing to do with the thread, just the user... |
Oh, sorry hit the submit button too quickly :P
|
Heh...its ok...
|
So as I understand it Adds the images under the Title like Invisionboard, Phpbb has on theirs?
|
Yes. Right under the title in the postbit.
|
Great Hack! :) I always wondered why vbulletin didn't have this ;)
To people who need PIPs you can get some from http://phpbb.com or http://ibplanet in their graphics area :p Installs |
Thanks! Heh...finally a hack i make that works...
Oh and be careful getting them from those sites...some are copyrighted... but at ibplanet.com in their gfx db under pips find the flashy rainbow ones and i made those (They are by hypershadow22)...you can use those if you want. the rest...well i dunno. |
Suggestion:
It'd be nice if you added a way to edit the PIPs Options VIA the AdminCP. |
Thatll be in version 2. I just threw this together really fast because i was bored and wanted to see if i could make a hack :p
I'll see what i can do about the admin stuff...might take awhile though. I'm not all that good with the template system...or PHP for that matter. I only know the basics, but its enough for me for now. :D Quote:
Any other suggestions/comments? |
Add a way for users to change which PIP Images should show in their post...
Example: 1 user wants Red stars showed in his Post, so he can choose red stars PIP 2nd user wants Blue Stars showed in his post, so he can choose Blue Star PIP. Or something like that :p |
Quote:
|
Then restrict which images a person can choose depending on their usergroup
|
So like, the regular members could choose a few different colors that aren't special staff ones? heh...it'd be kinda hard at my boards since a lot of the colors are taken but i can try that. Version 2. :D
|
Quote:
Little Problem, After Editing the Functions.php and adding the code after <smallfont>$post[usertitle]</smallfont><br> It doesn't show the PIP's under the title..... |
Hmm...
you put $showpips<br> right after it? I'll go check my template to make sure thats the right variable... Did you save and upload your admin/functions.php file? -Edit- Well, this is the line in my template: PHP Code:
Also, make sure you added it to all your template sets. |
Oh, stupid me...... Forgot to upload the functions.php file. Other then that it works great :)
|
Lol, well ok...Its always something like that which causes errors and stuff. :D
Can you post the url to your board so others can see it in action? I'll add it to the first post, as well. :D |
i always wondered why vb2 had stars. but i never figured a way to turn them on, great hack, too bad ill be going vb3 in a day or two
|
..........
|
The stars are for the thread rankings i believe. When you make a new reply, you can 'rate the post'...
Unless i'm stupid and can't read correctly today :p I'll update this for vB3 soon....i suppose....but can't release it here till vB3 final is released.. Quote:
The administrator group id should be 6, at least thats what i have the hack set for. Change those if they are different ^^ PHP Code:
|
well if you do the work now, i wouldnt mind seeing a beta of it if thats ok with you....
|
Quote:
Ack, too tired right now... I'll try it tomorrow, sometime in the afternoon....:D But i guess i can check out the vb3 files right now to see how they are set up. |
BUG: If a user has more posts then the maximum option in the function.php it doesn't show the IMAGES for the LAST PIP Level......
|
Err...well it wasn't really designed to do so. i can fix that though.
And faranth, I think its actually built in to vB3. The User Ranks thing... -edit- Updated the zip file. Download it and re-do the change to admin/functions.php. |
You may want to make a version number for this one ;)
|
Why? Just a little fix...
Ok, fine...1.1 it is :D |
Quote:
|
It isn't? How many posts does the user have?
|
Posts: 65535
:p |
ok...
find: PHP Code:
PHP Code:
And i don't really think there are many boards out there with members that have post counts that high :p |
I know, but if a user had more posts then whats set in the functions.php it wouldn't show the image ;)
|
You mean
Find: PHP Code:
|
Yep that works :D
P.S: Don't forget to update the zip. |
Quote:
|
another way to do this without a hack is the way i have made the rank stars on my forum.....
in the admin cp When defining the ranks, simply ad a <br>followed by an img tag for the appropriate star image. For example: Starting at 0 posts: Forum Newbie<br><img src="images/stars/1star.gif"> Starting at 51 posts: Forum Member<br><img src="images/stars/2star.gif"> You would then make appropriate images and place them in forums/images/stars. regards rob :smoke: my forum |
Quote:
|
Quote:
as you are linking to an image file and that image could have say 10 or even 20 stars maybe im wrong as im new to vb regards rob :smoke: |
All times are GMT. The time now is 05:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|