![]() |
User Titles
Ok well I know at my forums a lot of people are always asking when their user title is going to change to the next one and how many posts it takes to get to each level. So what I was thinking if anyone could do this. Would be to create a hack that on a seperate page (like the newsportal,shoutbox kind of pages) list the different user titles. How many posts it takes to get to each one and maybe how many users are at each level.
This would be very cool for my users and I would defo beta test it for whoever makes it. Thanks! |
I *think* this has already been done, have you searched? :)
|
yeah I will search again though
|
i can't remember this being done :s
|
I just searched and found nothing. I think this would help out a lot pf people.
|
i'd say like firefly: i think this has been done, but i can't find it now :)
but if not, it wouldn't be hard to write, just a few lines, and then add it to the avatar list |
Add it to the Avatar list? I do not want it in the avatar section I could care less about the avatars. I was thinking a seperate page for them
|
where you'll put it, is your problem *gg*
i'd do it myself to the list of the avatars, but, if you want it on a new page, this won't be a problem. just create a (very) small php file and a template, and it'll work |
I might like your idea. Are you going to do this?
|
ok, will do it :)
|
Awesome! If you need any help let me know!
|
btw I am actually installing the archive hack now
|
1 Attachment(s)
:)
i like to hear that :) ok, the code is written, but ther is no design, make it like you want it :) template showtitles: Code:
{htmldoctype} |
Nice work m8! I am going to customize it a bit but great work! Thanks much!
|
you're welcome :)
|
Cool hack!
Satan |
thanks ;)
|
Your welcome;)
How would you edit this to find out about Avatars? Satan |
I need to have the User Title and Minimum Posts as two sparate variables in the titles.php without any formatting whatsoever in the php file, can it be done? Please? :)
Quote:
|
you'll have a problem: since you don't know how much titles you have, you can't make dynamic variables because in the templates you cannot make a loop to call them all.
you maust make a small sort of formating, or you make your template hardcoded to 3 or 4 or whatever count of your titles.. but if you want to do so: replace this PHP Code:
PHP Code:
|
I did what you said here and put a 3 in for the x part of it (because I have 3 titles at present) but nothing shows up for the titles or minimum posts. Any ideas? I'm using the showtitles template and it doesn't show anything for those 2 variables in there.
Quote:
|
look at the counter variable it starts at 0, so if you have 3 titles you must choose 2 for title nr.3 *gg*
or put the line $counter++ two lines upper |
I put the counter line two lines up and it works great! Thank you very much. When I get the page done, I will put a link to it for you to check out. :) Thanks again!
Quote:
|
All times are GMT. The time now is 04:50 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:
|