|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
Hey everyone, it's been a while. I'm finally sitting down to revamp my BellaOnline forums a bit. I'm considering adding the ad insert between posts #1 and posts #2 which I haven't done in a past. Usually I just put ads in the header, sidebar, and footer of my forum. To test it out, I created a custom island with my ad code. I then added that custom island only to the Low Carb forum, to see how it did. I used the standard 'custom island insert' option to do that. Here's the forum area - https://forums.bellaonline.com/ubbthreads.php/forums/221/1/low-carbI'm not seeing any sign of the custom ad in between posts 1 and 2 of any area within low carb. Am I misunderstanding how it should work? If you view source on a page and look for the word 'responsive' you should find the other 3 ads easily. There should be a fourth one now showing up between posts 1 and 2. Thanks!
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Are the forum permissions for that forum set to display the forum insert to each group?
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
Wow you're quick, Gizmo. I'll go take a look. I didn't realize there was a forum permissions setting for the forum inserts.
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
OK, it looks like for Users that 'must view ad island' is zero for all 400+ (or whatever) forum areas. Is there an easy way to turn those all to 1 for all my various types of users?
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
While I'm at it, I also want to activate this same ad island for every single forum. Is there a way to do that in bulk rather than going in and manually editing every single forum area?
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
Hmmm I turned on the ad island permission for users and guests for low carb to test it out. I then opened another browser where I wasn't logged in and went to a thread in that low carb area. I'm still not seeing the ad code show up on the page. So I must still be doing something wrong?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Its granular because you can setup "VIP" or any other group that has no ads (or an admin/mod group). It'd take a database query to achieve a mass permission copy; while unsupported as it's accessing the database directly one would: Set "Must View Ad Island" for ALL groups: UPDATE `ubbt_FORUM_PERMISSIONS` SET `AD_ISLAND` = '1'; Set the Ad Island for EVERY forum to Island #1: UPDATE `ubbt_FORUMS` SET `FORUM_ISLAND_INSERT` = '1'; Forum permissions are cached in the ubbt_CACHED_PERMISSIONS table, so rebuilding forum permissions or submitting an edit should push the changes out after a query is run manually.
Last edited by Gizmo; 01/28/2021 2:35 PM. Reason: Clarification
|
1 member likes this:
isaac |
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
Hmmmm. I ran the two queries and they updated. I looked at the tables and they look quite fine. However, I'm still not seeing the ads in the non-low-carb forums. I do see them in the low carb forums. So that at least is progress.
Might there be anywhere else that needs to be set, to activate the ads in the other forums?
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
ok oddly I went into the forum editing screen for one of the misbehaving forum areas and checked the custom island insert entry there. It looked perfectly fine, showing the correct custom island. I hit save. Now it shows up. So the act of hitting 'save' made it start working ...
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I believe that the permissions are cached in the ubbt_CACHED_PERMISSIONS table, so rebuilding forum permissions or submitting an edit should push the changes out after a query change.
|
1 member likes this:
isaac |
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
That did the trick! Thank you so, so much. You just saved me days of tedious work . I hope you're staying safe and healthy!
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
0 members (),
815
guests, and
186
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|