Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
Hi..I'm basing this wishlist on the php demo version, so I apologize if it has been added to the full version.
I was wondering if it is possible to add a note to a new forum that has no post yet. Something that says:
"No message yet. Please select the "Post" button to post your message." (or something more inviting)
And once a forum has a post in it, this note will be automatically removed.
I wanted this feature because when I entered an empty forum, I first thought it was broken and didn't know what to do. I think Amazon does something like this with its user reviews board.

Anonymous
Unregistered
Anonymous
Unregistered
The easy way around that is to post an initial message yourself when you create the board.

<img src="http://www.amdragon.com/images/eileensig.gif" alt=" - " />

Anonymous
Unregistered
Anonymous
Unregistered
It is better to write your own first message rather than a canned message. This way you can explain the forum, any policies, etc. And since everybody would be different a canned message would not always be appropriate for a particular forum.

Anonymous
Unregistered
Anonymous
Unregistered
If you want to add the "No Post Yet" message, do this.

In postlist.pl find

# ---------------------------
# List the posts for this page

and right after it add this

if ($nums > 0) {

then find

# -------------------------------------------
# Here is where we let them jump around pages

and comment out the print line right after it - should be all on one line if I recall correctly. Then right after that add this

print "</table>\n";
} else {
print "</td></tr></table>\n";
print "</table>";
print "<center>

\&nbsp\;

No posts in this forum yet. ";
print "Will you <a href=\"$config{'cgiurl'}/newpost.pl?Cat=$Cat&Board=$Board&page=$page&view=$view&sb=$sb\">be the first to post?</a>


\n";
}

editing the message you want to appear for your site..

That should do it.


Jerry
<A target="_blank" HREF=http://allsports.com>AllSports</A>
<A target="_blank" HREF=http://forums.allsports.com>Forums</A>

Anonymous
Unregistered
Anonymous
Unregistered
Yeah, that's what I do... a welcome message. It is more personal than a line of text.

Muhammad Chishti

Creative dIRECTOR

<font color=white><a target="_blank" href=http://www.imcuniverse.com>http://www.imcuniverse.com</a></font color=white>

Anonymous
Unregistered
Anonymous
Unregistered
Will this work for the PhP version?

Anonymous
Unregistered
Anonymous
Unregistered
Dunno, I don't use PHP.
Jerry
<a target="_blank" href=http://allsports.com>AllSports</a>
<a target="_blank" href=http://forums.allsports.com>Forums</a>

Anonymous
Unregistered
Anonymous
Unregistered
echo "</table>";

}

else {

echo "</td></tr></table></table><center>


No posts in this forum yet. ";

echo "Will you <a href=\"$config[phpurl]/newpost.pl?Cat=$Cat&Board=$Board&page=$page&view=$view&sb=$sb\">be the first to

post?</a>


";

}
that should work for php.

<font color=red>--------------</font color=red>
<a target="_blank" href=http://extremeforums.org/index>http://extremeforums.org/index</a>


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Geoff), 377 guests, and 191 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)