vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=294493

RSS Fedd on closed forum, it is possible?
by Elric
28 Jan 2013 17:20

Hello,

i have closed my forum for guests but i will give my users the chance for rss feeds, what can i do? Have anyone a link to a hack for this? its a vb4.2 pl3 :(

kh99 28 Jan 2013 19:28

You could create a plugin using hook global_bootstrap_init_start and this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Elric 29 Jan 2013 05:03

:(It works not..

kh99 29 Jan 2013 12:57

Oh, sorry, I misread and thought you had closed your forum. When you say "closed for guests" what does that mean?

Elric 29 Jan 2013 15:14

Only registered users can see the forum, on the vb3.8 i have no problems with this option.

Lynne 29 Jan 2013 17:36

I think you'll need to actually edit the external.php file directly. It checks the forum permissions on line 129:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So, you'll want to modify that to allow the user to see the forum (remove the canview and canviewothers lines?)

This will mean that anybody to can see the feed.

Elric 29 Jan 2013 18:06

works not i think that was work on vb3.8

Lynne 29 Jan 2013 21:42

It does work on 3.8. Did you try removing the condition there on your 4.2 forum code? You may need to remove this also:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Elric 30 Jan 2013 05:54

Both are not works on 4.2 pl3

Lynne 30 Jan 2013 21:52

Make sure you comment out that stuff in the if and else area (around line 172). And, probably comment out the stuff around line 191. Wait out the cache and then see if it works.

Elric 31 Jan 2013 06:09

It ist not my first mod but will not works, will you this do it for me please ?

**edit: File removed as vbulletin doesn't give you permission to redistribute their files.

Lynne 31 Jan 2013 18:36

You may not post a vbulletin file as they do not give you permission to redistribute them.

Just post your code from line 124 to 137 and then from 170 to 180 and then from 190 to 195. You should have lines commented out in all of those areas. After commenting out the code according to what we have talked about here, please post those lines using the code tags and I will see if you did it correctly. Do not post it for me to do for you - try to do it yourself.

Elric 31 Jan 2013 19:21

First sorry i dont have think, now it works BUT i have forums theres only for the team an now in the feed all user can see this ?

Lynne 31 Jan 2013 19:27

You said you wanted your guests to be able to see all the feeds. So, that is what that code does. If you don't want some forumids to show, then you need to modify the $forumchoice variable to NOT show those forumids (just put a condition around it that if it's forumid x, then it doesn't get added to the array).

Elric 02 Feb 2013 08:06

Theres many variables of this type in the external.php :(


All times are GMT. The time now is 19:59.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.