Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 693
Addict
OP Offline
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-carb

I'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!


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 58,000 members / 850,000 posts
Joined: Jun 2006
Posts: 16,047
Likes: 67
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,047
Likes: 67
Are the forum permissions for that forum set to display the forum insert to each group?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 693
Addict
OP Offline
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.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 58,000 members / 850,000 posts
Joined: Jun 2006
Posts: 693
Addict
OP Offline
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?


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 58,000 members / 850,000 posts
Joined: Jun 2006
Posts: 693
Addict
OP Offline
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?


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 58,000 members / 850,000 posts
Joined: Jun 2006
Posts: 693
Addict
OP Offline
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?


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 58,000 members / 850,000 posts
Joined: Jun 2006
Posts: 16,047
Likes: 67
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,047
Likes: 67
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:
SQL Query
UPDATE `ubbt_FORUM_PERMISSIONS` SET `AD_ISLAND` = '1';

Set the Ad Island for EVERY forum to Island #1:
SQL Query
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 1:35 PM. Reason: Clarification

I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
1 member likes this: isaac
Joined: Jun 2006
Posts: 693
Addict
OP Offline
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?


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 58,000 members / 850,000 posts
Joined: Jun 2006
Posts: 693
Addict
OP Offline
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 ...


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 58,000 members / 850,000 posts
Joined: Jun 2006
Posts: 16,047
Likes: 67
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,047
Likes: 67
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.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
1 member likes this: isaac
Joined: Jun 2006
Posts: 693
Addict
OP Offline
Addict
Joined: Jun 2006
Posts: 693
That did the trick! Thank you so, so much. You just saved me days of tedious work smile.

I hope you're staying safe and healthy!


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 58,000 members / 850,000 posts

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Cannot redeclare class Admin
by Antoine20 - 03/05/2021 11:36 AM
legend for admin log operation names?
by Ruben - 03/04/2021 3:14 PM
active text
by isaac - 03/02/2021 6:48 AM
How to delete all PM's for one user
by Ruben - 02/27/2021 7:10 AM
Active links corrupts image links/urls
by Morgan - 02/24/2021 1:03 PM
Who's Online Now
5 members (Gizmo, Ruben, Morgan, Antoine20, 1 invisible), 53 guests, and 53 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5