WARNING: Continue to read this topic only if you are newbie.
Hello everyone i wanted to share something so i thought to make an UBER SHARE!! I dont know if its shared b4 so here we go.
What thi system does ?
Well with this Code you can name your community board html files with names like index.htm, info.htm etc not 1.htm as it is now.
So the commands will be bbstop;index etc.
Choose 1
Index: TopBBSManager.java
===================================================================
--- TopBBSManager.java (revision 5225)
+++ TopBBSManager.java (working copy)
@@ -52,7 +52,7 @@
{
StringTokenizer st = new StringTokenizer(command, ";");
st.nextToken();
- int idp = Integer.parseInt(st.nextToken());
+ String idp = st.nextToken();
String content = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/CommunityBoard/" + idp + ".htm");
if (content == null)
{
Pastebin
http://pastebin.com/VHMwjZXj
Will i gain karma from this one?
Credits me