Previous Thread
Next Thread
Print Thread
Rate Thread
#55140 01/06/2003 10:22 AM
Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
Not sure what to call this one. smile

What I want to do is have a mod that will let you put custom text in the screen where you are posting a message.

For example, I run the 3D Realms forums, I'd like for it to say this specifically in the Duke Nukem Forever forum.. "Don't post a msg asking about the release date for Duke Nukem Forever, because it's "when it's done". My idea is to have it appear between the msg icons and the actual text entry window for maximum effect. Perhaps a table there that the forum operator can insert whatever text they want.

Likewise, I'd like to post other msgs in other forums.

Anyone?

Sponsored Links
#55141 01/06/2003 3:48 PM
Joined: Sep 2000
Posts: 441
Member
Member
Offline
Joined: Sep 2000
Posts: 441
i did that the realy easy way by using the extra field for every forum in ubb6.01 @ the cp, so i put a special "how to search for records"-text between the tables:
http://technoforum.dyndns.org/cgi-bin/ultimatebb.cgi?ubb=forum&f=3

Nützlicher Hinweis:
Benutzt bitte die Subjektzeile für möglichst präzise, dennoch kurze Angaben bzgl. [suche] oder [biete]: wann spielte welcher DJ in welchem Set in welchem Club/Radio einen Track welchen Genres/Stils? Vor einem Request benutze einfach die [suche]-Funktion! Good luck


it's really quite easy to use a bunch of html-tags to change the look'n feel of that note. in case i misunderstood your request, sorry *G*

chris
http://technoforum.de

#55142 01/07/2003 11:47 AM
Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
I'm talking about the page you enter text on, not a forum display.

Look at this picture. Circled in red is where I envisioned the extra text would go. Obviously, if there was no text, it would not show anything.

http://www.siegler.net/.pics/ubbdevidea1.png

#55143 01/07/2003 12:22 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Just like what I did in www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=newtopic;f=30 (notice it's only in new topic, and it's only on forum 30, 33, 20 and another one)

#55144 01/07/2003 12:29 PM
Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
Quote
quote:
Originally posted by LK:
Just like what I did in www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=newtopic;f=30 (notice it's only in new topic, and it's only on forum 30, 33, 20 and another one)
OK, so is this code online somewhere that I can mess with it? smile

Sponsored Links
#55145 01/07/2003 12:31 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
public_new_topic.pl.
Find:
Code
[/code]Add below:[code]
Of course change the text and the forum numbers...

#55146 01/07/2003 12:41 PM
Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
Well, I wanted text that was specific to each forum. While this code is what I'd want sort of, I kind of needed something more elaborate.

I was envisioning something where it was in the control panel, you could turn it on/off per forum, and have somethign in the forum areas that showed what the "post intro text" (I admit I can't think of a good name) would be for that forum.

The code above is fine if you want just the same simple text in forum a,b,c,d - but if you want different text in said forums (or others/whatever), I think something more elaborate might be needed.

#55147 01/07/2003 12:50 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Code
[/code]Then download vars_wordlets.cgi from your server, and add the following lines into it: (after "%vars_wordlets = (" or before ");")
[code]
Untested but should work..

#55148 01/07/2003 4:54 PM
Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
Tried it - unless I'm a moron, it didn't work for me (I saw nothing different than normal). I tried your formatting for the vars_wordlets.cgi the way you had it shown and this way:

[code][/code]Which seems to match the format of the file. (Forums 1,2,4 are the ones that exist on my test bed board.

#55149 02/18/2003 10:47 AM
Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
Bump. Any further ideas?

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
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 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 20240430)