The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
post userid in hidden location?
There is a user registered on our forum that is using some form of bot that copies all the threads from our forum and post it to another website.
In order to see threads on our board one has to be registered/logged in, so whoever is doing this is using a registered account to copy all his. Anyone want to throw in their .02 cents on a way to throw in some code that displays a user's id number after a username? I am thinking ill make a new temporary user, and if possible add code that displays the userid for whoever is viewing the forum after the username. Then when the user logs in and copies all the thread information it will copy the temporary username WITH the above code that will tell me who was the one viewing. So everyone would see the if the username "Temporary"+"userid". And the culprit would give themselves away. Can anyone give me some clues to the above? |
#2
|
|||
|
|||
You could put this code at the bottom of the footer template
Code:
<div style="display:none;">{vb:raw bbuserinfo.username} - {vb:raw bbuserinfo.userid}</div> |
#3
|
|||
|
|||
I'll give that a shot, but I think whatever software the are using strips that kind of information. It appears to copy the viewable data. That's why I suggested something that displays a userid attached to a specific username. The program would just copy it and post it as it saw it.
|
#4
|
|||
|
|||
Try this...
Create a plugin using the 'bbcode_parse_start' hook and use this for the code... PHP Code:
If you actually want the BVB to be visible on your site just use this code.. PHP Code:
|
#5
|
|||
|
|||
Quote:
I'll give this a shot. |
#6
|
|||
|
|||
Quote:
Ok tried the first one, not quite working. It is displaying a visible code on the screen but not showing the userid even after highlighting. Posted screen capture below. |
#7
|
|||
|
|||
OK, sorry. I didn't know you were running a vB version older than 4.2.
Add this at the very top of the code.. Code:
global $vbulletin; PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|