The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Quote:
Will this allow the view of the link only from here or can they view the rest of the site after getting in this way? |
#12
|
||||
|
||||
Just the link. The visitor gets a one time permission to view the contents of the link. Any further navigation will be prevented.
|
#13
|
||||
|
||||
Ok, installed and will test.
|
#14
|
||||
|
||||
Cool.
Please let me know how it works. |
#15
|
||||
|
||||
Ok, I just tried it it I get a "No hot linking allowed" because I have that in my attachment.php and avatar.php at the top. Anyway to bypass that just for the link?
|
#16
|
||||
|
||||
avatar.php is not using global.php. So you may want to add the same logic as in global.php. Except that you have to use $REMOTE_ADDR instead of $url.
In attachment php: Look for: Code:
$permissions=getpermissions($getforuminfo[forumid]); Code:
if($vb_org == 1) { $permissions['canview'] = 1; $permissions['cangetattachment'] = 1; } |
#17
|
||||
|
||||
Still giving me the same error. Here is the code at the top of the file to prevent hot-linking.
PHP Code:
|
#18
|
||||
|
||||
You may want to add 205.214.66.221 and www.vbulletin.org to your list of referrers.
|
#19
|
||||
|
||||
Still couldn't get it to work for messages. Thanks anyway, buddy.
Edit: Finally got it working. Thanks Edwin. I have the "guests not allowed to view threads" hack by PPN installed and had to work around that. One last question. How do I add more than one IP or site address to the line so I can add more instead of having to do it for each separate address? |
#20
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?threadid=35399" target="_blank">https://vborg.vbsupport.ru/showt...threadid=35399</a>
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|