#55140
01/06/2003 10:22 AM
|
Joined: Mar 2001
Posts: 145
Member
|
Member
Joined: Mar 2001
Posts: 145 |
Not sure what to call this one. 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?
|
|
|
#55141
01/06/2003 3:48 PM
|
Joined: Sep 2000
Posts: 441
Member
|
Member
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 luckit'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
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
|
|
|
#55144
01/07/2003 12:29 PM
|
Joined: Mar 2001
Posts: 145
Member
|
Member
Joined: Mar 2001
Posts: 145 |
OK, so is this code online somewhere that I can mess with it?
|
|
|
#55145
01/07/2003 12:31 PM
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
public_new_topic.pl. Find: Of course change the text and the forum numbers...
|
|
|
#55146
01/07/2003 12:41 PM
|
Joined: Mar 2001
Posts: 145
Member
|
Member
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
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
[/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
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
Joined: Mar 2001
Posts: 145 |
|
|
|
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.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|