Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43319
Total Topics: 7526
Most Online Today: 236
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 232
Total: 232

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - webdzr

Pages: [1]
1
Support / Re: Ad url and click tracking
« on: January 06, 2012, 02:53:02 pm »
It just reminded me when you said "control your own ad inventory"

It would be really cool if the ad locations had ability for inventory count....

for example i used a copy of function ShowAdLocation and renamed it with the loop you made like we talked about before to show six banner ads down the side of the forum...(originally it was going to be five)

I have 3 ad packages....1month, 6 month & 1 year

to keep inventory at 6 ads i gave each package a count of 2....i can ajust as they sell but it would be great if the location
had an inventory count itself.......Im not complaining though!

2
Support / Re: Ad url and click tracking
« on: January 06, 2012, 02:21:02 pm »
Thats a good idea....think ill just do that cause i would rather have the tracking ability


Thank You,

BTW....I sold my first ad yesterday every thing worked perfect.....what an awesome mod this is for smf!

3
Support / Re: Ad url and click tracking
« on: January 06, 2012, 02:06:59 pm »
sorry...lol..... i wasnt very clear about what i was tryng to do....i wanted to make the links when hovered show the url of
the ad (like at the bottom of the browser) with rel"nofollow" not the redirect link....but to still have tracking ability

thats why i had the href="' . $adRow['banner_url'] . '" in there.....but i really dont see a way to pass the tracking link to it.

sorry for any confusion, its not really that important i was just thinking people would like to see their link url
instead of the redirect url and the nofollow tag would keep things good with googles terms about selling links

i really dont see a need for the nofollow tag to be used with the urls the way they are now

4
Support / Re: Ad url and click tracking
« on: January 06, 2012, 10:41:41 am »
Im sorry, I didnt mention that the click tracking works the way the links are.

Its only when i change them that it stops working.

Code: [Select]
$adDisplayData .= '<a href="' . $scripturl . '?action=adpro;sa=c&amp;id=' . $adRow['ID_AD'] . '">
change to

Code: [Select]
$adDisplayData .= '<a href="' . $adRow['banner_url'] . '" rel="nofollow">
Then tracking stops working....idk im missing something?

5
Support / Ad url and click tracking
« on: January 06, 2012, 09:49:14 am »
I was wondering if there was a way to change the ad urls that show when you hover over a link from the redirect link to
the accual url with rel "nofollow".

I was able to do this for both banner and text ads.

Example for the banner link:

$adDisplayData .= '<a href="' . $adRow['banner_url'] . '" rel="nofollow">


But the only problem Ive found is that the click tracking doesnt work.
The impresion count still does though.

My question is:  Is there a way to do this and still be able to track the # of clicks to an ad?

6
Support / Re: Couple questions about banner vs. txt and banner size
« on: December 13, 2011, 12:22:18 pm »
Thank you so much for that update. It really helped me a lot :)

There is one thing though, i think the banner ad must use full adspace function isn't working.

7
Support / Re: Couple questions about banner vs. txt and banner size
« on: December 08, 2011, 10:33:08 am »
Will look into the top part thursday night.

For advertise button in SMF 2.0 you would need to modify

Sources/Subs.php
Find
Code: [Select]
// the [Ad Seller Pro] button
'adpro' => array(
'title' => $txt['txt_seller_admin_tab'],
'href' => $scripturl . '?action=adpro;sa=buyadspace',
'show' => ($modSettings['seller_show_advetise'] == 1 ? true : false),
'icon' => '',
),

Change to
Code: [Select]
// the [Ad Seller Pro] button
'adpro' => array(
'title' => $txt['txt_seller_admin_tab'],
'href' => $scripturl . '?action=adpro;sa=buyadspace',
'show' => ($modSettings['seller_show_advetise'] == 1 && !$user_info['is_guest']) ? true : false),
'icon' => '',
),




Just for reference if anybody else wants to use the above code there is an extra  )  right before  ? true : false), that
breaks the code.

It should look like this:
Code: [Select]
// the [Ad Seller Pro] button
'adpro' => array(
'title' => $txt['txt_seller_admin_tab'],
'href' => $scripturl . '?action=adpro;sa=buyadspace',
'show' => ($modSettings['seller_show_advetise'] == 1 && !$user_info['is_guest'] ? true : false),
'icon' => '',
),

Works perfect now!

8
Support / Re: Couple questions about banner vs. txt and banner size
« on: December 08, 2011, 07:42:44 am »
Ok Thanks

9
Support / Couple questions about banner vs. txt and banner size
« on: December 06, 2011, 12:40:59 pm »
Im still testing before I go live with selling ads
and there are a few questions that I have.

If I set an ad location to allow banner images,
banner ads must use the full adspace is checked and set the adspace width and height,

Allow text links not being checked,

the purchacer of adspace is still able to create a textlink ad.

The same thing if Allow text links is checked and banner ad is not
they can still create a banner ad.

Also specifing the banner height and width seem to have no effect, the purchacer
can still upload any size image.

Now im testing in sandbox mode so im not sure if that has any effect on things
or is the script acting properly?


Also is there a way to have the Advertise tab in the menu that shows only for
members that are logged in?

10
Support / Re: Need Help Coding Mod
« on: December 01, 2011, 09:51:28 am »
Thats it! Everything seems to be working perfectly.....Just what I was looking for...Ill put in some
formating to give some space between ads and im done.

Thank You So Much!!!!!

11
Support / Re: Need Help Coding Mod
« on: November 30, 2011, 03:20:35 pm »
here it is

12
Support / Re: Need Help Coding Mod
« on: November 30, 2011, 01:30:40 pm »
That sounds like it might just work.

13
Support / Re: Need Help Coding Mod
« on: November 28, 2011, 08:46:24 pm »
Thank you for the quick responce....I was going to have one other ad location at the top of the forum also, but
i only want to offer 1 ad space/inventory for it and it is to display throughout the entire forum. I dont think the loop
will affect this space unless there are more than one ads for that location.

Other than that i would like to have just the vertical 5 ads on the left of forum.

I think the table $adDisplayData already uses might work (im not sure) might need some space between ads.
Having the advertise here link after the last ad would be a plus.

Im not sure if i want to use all text ads or image yet. It would be great if it worked for both.




14
Support / Need Help Coding Mod
« on: November 28, 2011, 02:32:09 pm »
Hello, First I would like to say that I think adseller pro is a great mod for smf.
There is just one thing that I didnt realize before I purchaced.
The ads only display one ad randomly on page refresh per location. I have read other posts on the forum about "stacking ads".
That is just what I would like to do. The way adsense displays.

I realize you can create a custom location and create a <table> but in my case I want a tower on the
left side of the forum index with 5 ads in it and different ads on the 6 other main pages of my forum (same location). If I made a custom location for each there would be 35 different locations/ad packages for customers to choose from.
I do not want to do this. It would be better to have only 7 locations/ad packages.

Im not fluent in php/mysql but I think this could be done with a WHILE() loop on the query starting on line 2144
in sources/adseller2.php and change the ORDER BY RAND() LIMIT 1 to ORDER BY ID_AD DESC the
number of ads that display could be set by the number of ad stock in the location(my case 5)
Im not using the rev.share part or have any other ad locations.

Im just not sure how to write the while loop and where it should go.

I may be compleatly wrong in all this. If anybody understands any of this and can help I would be very thankful
as I would really like to use this mod. I also feel this would be helpful to many other people. Thank You

Pages: [1]

+- Recent Topics

Attachment images Upsidedown or Sideways by SMFHacks
June 18, 2024, 10:53:24 am

JSON decode error: The maximum stack depth has been exceeded by SMFHacks
June 14, 2024, 10:15:16 pm

“Insert from Gallery” by donk
June 10, 2024, 01:26:57 pm

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Powered by EzPortal