Support Forum
Ad code between groups in fourm-index
Yellow Swordfish
Glinton, England
SP Master
Offline
The template in this case is the spGroupView.php template. The forum groups are contained in a loop which starts with:
if (sp_has_groups()) : while (sp_loop_groups()) : sp_the_group();
and ends with a corresponding:
endwhile; else:
after the call to section end of 'group'.
You will probably want to place your ad code just before that endwhile of the group loop. Anything at that point will display after the forum group and before the start of the next.
YELLOW
SWORDFISH
|
Frank Mastroianni
Member
Free Members
Offline
I'm still not very clear where I should put what code exactly...excuse my lack of knowledge in coding.
The first bit of code you provided is near the beginning of the file while the only place I can find the second bit of code is near the end...there is plenty of code in between.
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626