Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2002
Posts: 6
Lurker
Lurker
Offline
Joined: Aug 2002
Posts: 6
I need to be able to fill the content of an island dependent upon the forum being displayed. Alternatively, I need to be able to put some code outside of the islands that does this. (We sell advertising separately for some forums.) Any ideas anyone?


Sponsored Links
Joined: Jan 2003
Posts: 125
Journeyman
Journeyman
Joined: Jan 2003
Posts: 125
perhaps have the code inside the content island include a file with the forum number in the name eg:

included_file_1.php for forum #1

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
It would be good to have a solution - we too could do with such an option.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Oct 2006
Posts: 2
Lurker
Lurker
Offline
Joined: Oct 2006
Posts: 2
I would also be able to use something to do the same thing.
I'm running out of Content Island and have to vary it depending on the forum. The "Smarty" code for Usenet, forums numbers etc. isn't available in the island.
Rick said he might get to doing it in a future release.
I'm waiting.
If forum number were available you could do an array using it to pick up the content.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
AFAIK you can parse code in smarty templates; just look at the post listing, flat view, sidebar items, online listing, etc...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)