![]() |
|
#1
|
|||
|
|||
|
I guess this is the best place to post this, since this is really discussing an add-on of sorts to vBadvanced CMPS v1.0.0.
I have a small hack added to my forum which requires guests to register in order to view any images shown in a post via the IMG tag. If they are a guest, it replaces any image from the IMG tag in a forum post with a replacement image I created that says "Your must register/login to view this image." This is working great! This one-section hack can be found here: http://www.vbulletin.org/forum/showthread.php?t=66260 I have also allowed this hack to EXCLUDE my News forum, allowing ALL guests to view images from only my News forum. Again, this works perfectly on the forum. However, this doesn't work with vBadvanced. My News forum is the same forum ID I'm using to pull the news onto my portal's homeage. Even though vbadvanced is pulling the same permissions from my forum, it is still blocking guests from viewing the embedded images.You can view this in action by viewing the home page of my site as a guest, and then for any news post where you see "You Must register to view this image," if you click on the thread header for that post, you can view the images, even as a guest. This only works for the posts in this News forum. Brian, if you have a moment, is there any way you can perhaps look into this. It must be something to do with how vBadvanced parses the IMG tag, or permissions or something. But You would be the man to know this. ![]() If this IMG parse exclude hack can be refined to work with vbadvanced, it'll make a nice little addition to drive up membership. It will allow admin's to create a homepage that looks clean (with images using the IMG tag), and then require users to register to view images from posts in the other forums. Any help would be appreicated, thanks. |
|
#2
|
||||
|
||||
|
Add $news to your global variables at the top, then add this to the if statement:
AND $news['forumid'] != X
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hacks from vBadvanced > CMPS | Intex | Troubleshooting / "How do I..." Questions | 6 | 02-16-2006 11:16 AM |
| vBadvanced CMPS Nominated for Hack of The Month! | Brian | Announcements | 32 | 11-22-2004 09:31 PM |
| Skins that works with vBadvanced CMPS | partang2 | Troubleshooting / "How do I..." Questions | 19 | 07-14-2004 03:20 AM |
| vBadvanced CMPS Questions | Big Kahuna | Troubleshooting / "How do I..." Questions | 1 | 06-24-2004 12:54 PM |
| vBadvanced CMPS Released! | Brian | Announcements | 28 | 06-13-2004 01:02 PM |