REGISTER or LOGIN to have the annoying ads removed.
Post Reply 
 
Thread Rating:
  • 14 Votes - 4.14 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My Ad Manager
Sep 14, 2008, 07:06 PM (This post was last modified: Sep 15, 2008 07:15 PM by labrocca.)
Post: #31
RE: My Ad Manager
lol..I had the check reversed...

only those in the exempt could see the ads. Smile

Try again:

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply

This ad removed for subscribers.
Sep 14, 2008, 08:08 PM
Post: #32
RE: My Ad Manager
lol, that's ok.Tongue

I'll upload the new file in a bit here.

[Image: logo.gif]
Xtemulation Forums
Find all posts by this user
Quote this message in a reply
Sep 15, 2008, 01:49 AM
Post: #33
RE: My Ad Manager
why do i not have permissions to download this plugin? it looks great but i can't even try it on my demo forums Sad

Tortoise Forum .org - For all who love tortoises and turtles.
Find all posts by this user
Quote this message in a reply
Sep 15, 2008, 02:21 AM
Post: #34
RE: My Ad Manager
(Sep 15, 2008 01:49 AM)josh0322 Wrote:  why do i not have permissions to download this plugin? it looks great but i can't even try it on my demo forums Sad

http://www.mybbcentral.com/subscribe.php

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
Sep 15, 2008, 12:59 PM
Post: #35
RE: My Ad Manager
I'd hate to say this yet again and make you dig in to fix this problem, but I am still having this problem.

To ensure it wasn't an issue with my browser cache, I booted into my Vista install that I haven't used in over a week where the ads weren't cached, and the same issue persisted even though I was logged in and administrators were exempt from seeing them.

The issue seems to be the inline ads portion of the plugin as everything else works flawlessly.

Again I am sorry to have to report this yet again...Sad

I'll even reinstate your account as temporary administrator on my forum so you can check to be sure there is nothing wrong with my settings.

[Image: logo.gif]
Xtemulation Forums
Find all posts by this user
Quote this message in a reply
Sep 15, 2008, 06:46 PM
Post: #36
RE: My Ad Manager
Holy crap how many times I am going to screw this up?

Change this:

Code:
function myads_inline(&$post)
{

global $mybb, $db, $postcounter;

to this

Code:
function myads_inline(&$post)
{

global $mybb, $db, $postcounter, $fid;

Apparently I forgot the global. Sad

This assumes your problem was with forumid exemption and not usergroup.

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply

This ad removed for subscribers.
Sep 15, 2008, 09:18 PM (This post was last modified: Sep 15, 2008 09:19 PM by Xtreme2damax.)
Post: #37
RE: My Ad Manager
It was the usergroup exclusion, I don't use the forum id exclusion as of yet. I honestly am sorry about this, as I really hate to make you check/fix things again. Sad

[Image: logo.gif]
Xtemulation Forums
Find all posts by this user
Quote this message in a reply
Sep 16, 2008, 11:15 AM (This post was last modified: Sep 16, 2008 11:24 AM by labrocca.)
Post: #38
RE: My Ad Manager
wow..I am perplexed. Let me really spend time on it..not sure what's going on.

EDIT: Upload this.

What's weird is that the same code works on the rest of it but not for the inline ad. I change the && to || and now it works. I tried to test this a bit more thoroughly as before I thought I was just finding simple errors. Really hoping this is fixed now. Total botch job by me and I apologize.

Yesterday I spent a lot of time on a server attack. You might have noticed Mybb Central was down for a couple hours.


Attached File(s)
.php  my_ad_manager.php (Size: 12.49 KB / Downloads: 8)

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
Sep 16, 2008, 03:44 PM
Post: #39
RE: My Ad Manager
Just tested it and it is working properly now, thanks labrocca. Big Grin

[Image: logo.gif]
Xtemulation Forums
Find all posts by this user
Quote this message in a reply
Sep 16, 2008, 05:52 PM
Post: #40
RE: My Ad Manager
Thanks god! Every day I looked and was dreading a post by you. Smile

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Ads not showing up in Ad Manager trilobyte- 10 482 Nov 20, 2009 07:17 PM
Last Post: dyrer
  Just noticed something in Ad Manager Joshua Mayer 3 804 Mar 14, 2009 02:37 PM
Last Post: labrocca

Forum Jump:



icon buffet