SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 25, 2012, 11:49:42 am

Login with username, password and session length
Members
Total Members: 10073
Latest: makablue
Stats
Total Posts: 28694
Total Topics: 4979
Online Today: 88
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 57
Total: 57
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Couple questions about banner vs. txt and banner size  (Read 935 times)
webdzr
Ad Seller Pro Customer
Newbie
*****
Offline Offline

Posts: 14


View Profile
« 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?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9680


View Profile
« Reply #1 on: December 07, 2011, 09:14:09 pm »

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:
// 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:
// 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' => '',
),

Logged
webdzr
Ad Seller Pro Customer
Newbie
*****
Offline Offline

Posts: 14


View Profile
« Reply #2 on: December 08, 2011, 07:42:44 am »

Ok Thanks
Logged
webdzr
Ad Seller Pro Customer
Newbie
*****
Offline Offline

Posts: 14


View Profile
« Reply #3 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:
// 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:
// 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:
// 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!
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9680


View Profile
« Reply #4 on: December 09, 2011, 10:14:12 pm »

Posted an update that should fix checking for ad types and banner size

1.0.11
!Fixed issue with when buying ads that checking was not working for allowed ad types textlinks/banners.
!Fixed checking for banner width and height for buyer adspace
Logged
webdzr
Ad Seller Pro Customer
Newbie
*****
Offline Offline

Posts: 14


View Profile
« Reply #5 on: December 13, 2011, 12:22:18 pm »

Thank you so much for that update. It really helped me a lot Smiley

There is one thing though, i think the banner ad must use full adspace function isn't working.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9680


View Profile
« Reply #6 on: December 19, 2011, 12:45:20 pm »

Will look into the fullspace issue for banners.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 10:52:25 am]

[Today at 10:35:29 am]

[May 24, 2012, 08:02:50 am]

[May 24, 2012, 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.729 seconds with 20 queries.