Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
June 19, 2013, 12:49:10 am

Login with username, password and session length
Members
Total Members: 10807
Latest: GoldDigger1950
Stats
Total Posts: 32558
Total Topics: 5507
Online Today: 42
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 55
Total: 55
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 2 [3] Go Down Print
Author Topic: New Here - Cant get ads to work  (Read 5473 times)
Jimmie
Inline PM Customer
*****
Offline Offline

Posts: 29


View Profile
« Reply #30 on: August 17, 2010, 02:49:39 pm »

http://lonestarbass.com/index.php?action==adpro;sa=buyadspace
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11051


View Profile
« Reply #31 on: August 17, 2010, 03:01:53 pm »

The issue is the two equals. It should be one. I don't find that in the main adseller pro code. Is it on the menu that i edited?
Logged
Jimmie
Inline PM Customer
*****
Offline Offline

Posts: 29


View Profile
« Reply #32 on: August 17, 2010, 03:05:58 pm »

if you edited the code, it must be....

BTW, do you know of an advertise button for the classic theme? I cant find a font that comes close to whats used and dont want to recreate them all.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11051


View Profile
« Reply #33 on: August 17, 2010, 03:16:41 pm »

Good button generator I use
http://www.marcovanveelen.nl/buttongenerator/
Logged
Jimmie
Inline PM Customer
*****
Offline Offline

Posts: 29


View Profile
« Reply #34 on: August 17, 2010, 03:47:12 pm »

thanks... I found the code and edited it so the advertise button works. there was 2 = , as you already mentioned.

GREAT Script/MOD and support. I will definitely recommend to anyone looking for ad management.
« Last Edit: August 17, 2010, 04:21:01 pm by Jimmie » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11051


View Profile
« Reply #35 on: August 17, 2010, 09:10:00 pm »

Thanks for the comments and support!
Logged
Jimmie
Inline PM Customer
*****
Offline Offline

Posts: 29


View Profile
« Reply #36 on: March 17, 2011, 08:06:39 pm »

We have updated our template/theme and it appears to have broken the code for the add display. Can you assist in fixing for me?

I have included the new index.template.php file.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11051


View Profile
« Reply #37 on: March 17, 2011, 08:10:46 pm »

Which ad location is not displaying correctly or not showing up?
Logged
Jimmie
Inline PM Customer
*****
Offline Offline

Posts: 29


View Profile
« Reply #38 on: March 17, 2011, 08:29:43 pm »

I believe I may have fixed it..... found the old index.template.php filed and picked the code out of it.
Logged
Jimmie
Inline PM Customer
*****
Offline Offline

Posts: 29


View Profile
« Reply #39 on: March 17, 2011, 08:31:56 pm »

what folder did the advertise button go in? cant remember
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11051


View Profile
« Reply #40 on: March 17, 2011, 08:35:17 pm »

There is no image for the advertise button in the menu by default.
It is added to the index.template.php of the theme for SMF 1.1.x
Logged
Jimmie
Inline PM Customer
*****
Offline Offline

Posts: 29


View Profile
« Reply #41 on: March 17, 2011, 08:36:22 pm »

I need to add it, I must have missed it.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11051


View Profile
« Reply #42 on: March 17, 2011, 08:40:27 pm »

Find

Code:

// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
</td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

Add After
Code:

global $modSettings;
// the [Add Seller Pro] button
if ($modSettings['seller_show_advetise'])
echo ($current_action == 'buyadspace' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'buyadspace' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=adpro;sa=buyadspace">' , $txt['txt_seller_admin_tab']  , '</a>
</td>' , $current_action == 'buyadspace' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

      
Logged
Jimmie
Inline PM Customer
*****
Offline Offline

Posts: 29


View Profile
« Reply #43 on: March 17, 2011, 08:44:22 pm »

thanks again!
Logged
Pages: 1 2 [3] Go Up Print 
« previous next »
Jump to:  

Recent
[June 18, 2013, 05:22:14 pm]

[June 18, 2013, 07:27:33 am]

[June 18, 2013, 06:10:04 am]

[June 17, 2013, 12:27:50 pm]

[June 16, 2013, 08:17:21 pm]

[June 16, 2013, 07:29:04 am]

[June 15, 2013, 08:34:38 pm]

[June 14, 2013, 10:28:18 pm]

[June 13, 2013, 11:00:52 pm]

[June 12, 2013, 03:37:47 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
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 1.364 seconds with 20 queries.