The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
How is anyone insulting you?
Pointing out that what he said was right is insulting you? How much more help do you want? Write a plugin that gathers the info as the user is browsing the website and stores it in the database, write another plug-in that retrieves the data and display it accordingly. |
#12
|
|||
|
|||
Quote:
How about, though, being able to just add something that does this automatically? I know I had something of that sort with SMF way back when -- and certainly vBulletin is far more advanced than that. --------------- Added [DATE]1216498056[/DATE] at [TIME]1216498056[/TIME] --------------- Quote:
But I'm still tempted by the possibilities of an intelligent user agent too if anyone wishes to contribute. |
#13
|
||||
|
||||
vbulletin has a function called is_browser() which has a lot of browser detection code in it - its in functions.php if you want to look at it.
|
#14
|
|||
|
|||
Quote:
Care to suggest a way to implement this automatically in postbit? I can replace the optional field and use that, if I had guidance and such, and perhaps a few options. I think I'm good at building a popular forum (see http://forum.theparacast.com and decide for yourself). I can assemble useful mods, customize them and I think I did a decent job with the default theme to turn it to our purposes and style. But for the rest, I can always use step-by-step assistance. Thanks for the direction, though. |
#15
|
|||
|
|||
Unfortunately if you don't have experience with PHP then you will have to make a modification request and hope someone will take up the request.
We can give you guidance but we can't sit here and write the code out for you. If you want to store it on a per user basis, you'd need to something like the following: 1. Extend the User Table 2. Extend the User DataManager 3. Fetch the Users Browser using the PHP Code and compare this to the one already stored. 4. If its different, then update the user table 5. Add the new "User" field into the postbit template using the $post array. |
#16
|
|||
|
|||
Honestly, I thought that was the purpose of my messages, to request just that sort of assistance.
|
#17
|
||||
|
||||
Quote:
The purpose of this forum is to discuss programming, and to provide guidance, the forum you are looking for is: Modification Requests. |
#18
|
|||
|
|||
Quote:
If you know, don't hold back. I did post something in Modification Requests, but that came later. I had presumed there were existing solutions already available for vBulletin. |
#19
|
||||
|
||||
Create a field in the user table to store the user agent. Then at global_start, parse and record the user agent. Use that data in your postbit.
That's the solution, how you code it, is your decision. Again - we are not here to code every bit of code you need, we provide guidance. |
#20
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|