View Full Version : Browsers List
napukjon
11-09-2006, 10:00 PM
What does this do?
This will add a dropdown to your profile with a list of different browsers for people choose from, to say which one there using to browse the web.
Once selected in your profile it will then display the image for the browser in your postbit(_legacy). :)
Known Bugs
N/A
As far as im aware this would work in both 3.5 and 3.6. If someone can test3.5 for me that would be great thanks.
I know it works properly in 3.6 because thats what im using :cool:
Enjoy!!! and dont forget to press install!!! :D
Neo_Angelo
11-10-2006, 07:05 PM
thats an awsome hack. very useful for us admins. thanks a lot ^_^ *Neo clicks install*
EDIT: where do we put the code for the images to show up next to the username in postbit_legacy?
da420
11-10-2006, 07:47 PM
thats an awsome hack. very useful for us admins. thanks a lot ^_^ *Neo clicks install*
EDIT: where do we put the code for the images to show up next to the username in postbit_legacy?
If ya read the install txt file you'd have seen this instruction. ;)
Find:
$post[iplogged]
</td>
(If you cant find this, just search for $post[iplogged])
Add Before the next </td>:
<img src="/images/browsers/$post[fieldx].png" alt="$post[fieldx]" />
x being the number of the field you just created for the browsers drop down.
Neo_Angelo
11-10-2006, 08:10 PM
no i meant where in the postbit_legacy do i add this code to make the image appear next to the username instead of next to IP log?
i want it to be like this:
Neo_Angelo(web browser image here)
instead of:
on|Rep|IP|(browser image)
bolly.beats
11-10-2006, 08:28 PM
U told
2. Go into ACP and create a new profile field > Single Selection Menu.
Then enter the following information:
Where is the option for Creating new profile field. :-ss
akanevsky
11-10-2006, 09:14 PM
How about making it detect the browser automatically?
da420
11-10-2006, 09:55 PM
How about making it detect the browser automatically?
I would definately install it if it did that. ;)
napukjon
11-10-2006, 11:18 PM
If i had the knowledge i would think about doing that deffinetly. Something to deffinetly look into. Cheers Guys.
And if you would like to it appear next to your username simply:
Find:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
Add after:
<img src="/images/browsers/$post[fieldx].png" alt="$post[fieldx]" />
Changing the x's for the field number
napukjon
11-10-2006, 11:23 PM
U told
2. Go into ACP and create a new profile field > Single Selection Menu.
Then enter the following information:
Where is the option for Creating new profile field. :-ss
In your ACP there should be a menu for profile fields. Its where your user management is. Click on it, and select new profile field....etc etc
Stromba
11-11-2006, 07:58 AM
Great hack.. Well done and thanks for share it with use
bolly.beats
11-11-2006, 09:13 AM
In your ACP there should be a menu for profile fields. Its where your user management is. Click on it, and select new profile field....etc etc
Thanks a lot bro:)
napukjon
11-11-2006, 10:02 AM
No probs. Enjoy!
Garyk
11-19-2006, 03:36 PM
ok im a little confused with this is the x a value that we are supposed to replace and if so what do i replace it with
MThornback
11-19-2006, 09:02 PM
you should add
<if condition="$post[fieldxx]">
</if>
around your code so it doesn't show up as a broken image for people who haven't selected it.
Bison
11-23-2006, 02:51 PM
Would be a great hack if it detected the browser automatically ...
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.