Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name / Version: Forum Instructions 2.0

Description: This allows you to add a bit of text to the top of the postlist page. It's forum specific, so you can have different info for each forum.

Version 2.0 adds the ability to edit the stuff at the top of each forum. This is a PERFECT way to have a banner ad for each forum, without having to have separate forum headers for each forum.

We use it here to give links and instructions at the top of each forum.

Working Under: UBB.Threads 6.3

Mod Status: Beta

Any pre-requisites: none

Author(s): JoshPet of www.joshuapettit.com

Date: 09/13/03

Credits: Needed for ThreadsDev - upgraded for Aaron (shortbus) at www.ultimatenurse.com

Files Altered: postlist.tmpl

New Files: /admin/selectforuminfo.php, /admin/editforuminfo.php, /admin/doeditforuminfo.php

Database Altered: none

Info/Instructions: Upload 3 new scripts to the /admin directory of your ubbthreads install and apply the changes included in zip file. Make sure your "includes" folder is writable so you can create/edit the includes through the online interface.

Then near the bottom of your admin menu, you'll notice a new option - "Edit Forum Instructions".

Click that, select a forum, and enter your text, links, HTML etc... It'll be included at the top of that specific forum.

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.


Attachments
94723-ForumInstructions2.0.zip (0 Bytes, 44 downloads)

Sponsored Links
Joined: Apr 2002
Posts: 610
Code Monkey
Code Monkey
Joined: Apr 2002
Posts: 610
Thanks Josh!!!

Threadsdev! Where would I be without you guys? !!!

Joined: Mar 2003
Posts: 118
Journeyman
Journeyman
Offline
Joined: Mar 2003
Posts: 118
Great mod Josh. Is there a way for it to work with UBB code so that the Scrolling & Blinking features, etc, will work with that so text can stand out a little more?


Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
You can use standard HTML - so can include the marquee function etc., in your HTML code.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Up exactly. It mimics the "header" function of each board. So since it's Admins only.... you can use HTML.

Sponsored Links
Joined: Mar 2003
Posts: 118
Journeyman
Journeyman
Offline
Joined: Mar 2003
Posts: 118
gotcha... that works... Thanks.

Joined: Jun 2003
Posts: 131
Journeyman
Journeyman
Offline
Joined: Jun 2003
Posts: 131
Thanks much for this additional capability, Josh...I've been using your earlier version to have some instructions on my forums, and this'll make it easier to handle (though I'm not going to implement it until I get back from this long trip I'm on, because I don't trust myelf to not screw something up, and I'd rather be at my main computer to handle any difficulties I cause).

By the way, as I remember, one has to be careful about quotation marks (e.g., in a link...), and I wonder whether the instructions note this little foible...

Finally, for some purposes, it would be handy to be able to have instructions on the "show" pages (flat and otherwise), which I guess would be analogous to what you've done for the postlist. Would this be hard to implement by analogy (e.g., for someone who doesn't know much about tables, etc.), and would it involve any other additional templates, besides showflat and show threaded?

Thanks again! Tony

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Given that this works like the forum headers.... it's "included" rather than being actually in the postlist.php code.... quotes aren't a problem. You can use HTML with quotes as normal. It won't cause any trouble.

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Updated the instructions for 6.4
Attachments
96507-ForumInstructions3.0.txt (0 Bytes, 40 downloads)

Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
I was able to modify this mod to work as as place to put forum specific banners, in lieu of a forum-specific header:
http://www.telenovelas-online.com/foros/postlist.php?Cat=&Board=gabyspanic

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Since HTML works in it No need to modify at all. Simply place the link in each place and you got a banner

Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
What I modified was the position of the table row for the instructions in postlist.tmpl. Instead of being beneath the cat table, it's above it. I think it works better that way for banners

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Yes Perception is the Mother of Invention


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
Morgan 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)