message board - Page 2
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

message board

Started by achiever, 07 November, 2006, 09:38:32

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Creative

Hello Sir,
           Same problem i am facing. Whatever the MaxRead number i set, but while reading the message board, it shows

QuoteHyper Hub   Message Board    Displayng last [ 345 ] message(s)

Yahoo

#26
thanks for removing case insensitive. i am also facing same problem which is faced by achiever and creative
"BoRN FIGhTEr"

achiever

working fine thanks
sorry for late report but i just noticed that if i delete a sticky message it gets deleted and is not shown again, but when i restart script or hub the message is still there.

plzz check.
thks
thks,
achiever.

achiever

yes working fine.

thks,
Quote from: Creative on 25 April, 2007, 17:46:39
just tell me what should i edit, if i want the sticky message to be seen as,

<Date> Operator Type +rules.

instead of,

Sticky [ 1 ]  *<Master Creative> Type +rules*

Please tell me what addition i should do in this script.

i tried it
change line 446 to this
str = str..i.." <"..v[2].."> "..v[1].." :- "..v[3].."\r\n"


and also line 488 to this
table.insert(StickyMessages,{profile,os.date("%m/%d/%Y"),sticky,})


working for me
Quote=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=
1 <05/09/2007> Operator :- testing format
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=

will just show now
msg.no.    date         profile       mesg

i think this what u asked for.

hope u dont mind me messing with ur script mutor.

thks,
thks,
achiever.

achiever

Quote from: Mutor on 09 May, 2007, 22:26:42
Not at all, but that request was already handled in v1.08e
+Changes from v 1.08d	By Mutor        04/25/07
		+Added case insensitivity for commands	 Requested by Yahoo
		~Changed sticky table/file format	Requested by Creative
		
		1 <04/25/2007> Master Mutor   Sticky test message...


i m not sure what he (creative) needed now, but i thought that he did not want to c the username in sticky message so tried the change and posted it. v1.08e still shows users name (to me atleast ;) )

neways mutor thanks a lot for a great script.
thks,
achiever.

Yahoo

hi mutor, can u just post tht code for adding the date to sticky message i am using 1.08dversion of message board
thanks in advance
"BoRN FIGhTEr"

Yahoo

bcoz i have made some changes in tht script thts y i wanted the code
"BoRN FIGhTEr"

Creative

Hello Sir.
           Till now i was using "Message Board 1.08d" But as you have made many changes in "Message Board 1.08e" so i tried using 1.08e script. First i deleted old message board.txt and sticky.txt and after restarting the scripts when new files were created, i copied all messages from messageboard.txt to new file.

But still it is showing
Hyper Hub	Message Board	 Displayng last [ 523 ] message(s)


Other commands are working fine.

Creative

MaxMsg = 9999,
-- Max number of messages to read [most recent]
MaxRead = 50,

Yahoo

what should be the code if i want to show the commands to all users for eg if a user type +read this command must be seen by all users in main chat
"BoRN FIGhTEr"

Yahoo

now the code look some what like this
if cmd then
			cmd = string.lower(cmd)
			SendToAll(user.sName,frmHub:GetPrefixes()[1]..cmd)
			if tCmds[cmd] then

but now i am getting the commands for 2 times i.e qwhen i type +read i get
*** Server command: +read
[PoTtEr:09:52:38] <yahoo> !read
[PoTtEr:09:52:38] <yahoo> +read
and the output is also not shown
"BoRN FIGhTEr"

Creative

Hellp Sir.
           Can you tell me what problem i am facing? i have replied to your questions, please help me.

Yahoo

sir it is still not working. shld i send u my message board script??? and i am using the following script
- [ 1 ]  opsecurity_v2.02.lua
- [ 1 ]  block registration.lua
- [ 1 ]  chatrooms.v4.15.lua
- [ 1 ]  Dump_Board_1.09_L5.1.lua
- [ 1 ]  graph.lua
- [ 1 ]  HelP_BoT_1.0_by_6Marilyn6Manson6.lua
- [ 1 ]  Hubtime.lua
- [ 1 ]  life time.lua
- [ 1 ]  membercount (nit).lua
- [ 1 ]  messge board 1.08d.lua
- [ 1 ]  mute.lua
- [ 1 ]  mutor socks5.lua
- [ 1 ]  NetLogin.lua
- [ 1 ]  onjoin.lua
- [ 1 ]  oprules.lua
- [ 1 ]  password recovery.lua
- [ 1 ]  Poll.Bot.v.1.3.LUA5.1-TTB.lua
- [ 1 ]  postman_0.7.lua
- [ 1 ]  record bot.lua
- [ 1 ]  RegLog_1.0f_L5.1.lua
- [ 1 ]  regstats.lua
- [ 1 ]  right click .lua
- [ 1 ]  Rincewind's Anagrams.lua
- [ 1 ]  Rincewind's HubInfo.lua
- [ 1 ]  Rincewind's LastSeen.lua
- [ 1 ]  Rincewind's Numbers.lua
- [ 1 ]  self registration.lua
- [ 1 ]  server_Board_1.08_L5.1.lua
- [ 1 ]  settings_v1.0.lua
- [ 1 ]  Trivia-Ex-V.0.681.lua
- [ 1 ]  userlist.lua
- [ 1 ]  User_Alert_1.0f_L5.1.lua
- [ 1 ]  zztime bot.lua
- [ 1 ]  meanstats.lua
"BoRN FIGhTEr"

Creative

#38
Its displays last 50 messages as i have set MaxRead = 50

But it shows,
QuoteMessage Board    Displayng last [ 523 ] message(s)

Or just tell me, if i use the orignal script again, then what should be done to save all the messages which are already posted by users in my hub.

Yahoo

i tried tht also but still i am not getting any output and also the commands are shown 2 times
so if u have time can i send u tht script
"BoRN FIGhTEr"

Creative

Quote from: Yahoo on 11 May, 2007, 10:42:08
what should be the code if i want to show the commands to all users for eg if a user type +read this command must be seen by all users in main chat
As far as i know, just find this line
return user:SendPM(MsgCfg.Bot,tCmds[cmd](user,data)),1


replace the above statement by following,
return user:SendPM(MsgCfg.Bot,tCmds[cmd](user,data)),0

This should work.

Yahoo

thanks creative it is working  :D
"BoRN FIGhTEr"

Creative

Hello Mutor,
                Sometimes users try to spam the Message Board by posting same messages 2-3 times.
Is it possible to avoid them from spamming?
Once any user post any message he cant post the same message again, if he try to do this he will get a message that this "This message has already been posted."
I hope u got what i wanted to tell :)

Creative

Yes sir, combination of both will be cool. You take your time to add this option :)
I'll wait for this addtion,
Thanks

achiever

hi mutor,

can u plzz also add a command to read posts posted on perticular date?
like +readate <07/05/07> or something.

not in hurry for this 1 just got an idea and posted it up :P

thks,
thks,
achiever.

achiever

thks a lot, :)
achiever.
thks,
achiever.

Yahoo

#46
sir when i change the filename of
--Sticky Message file.
StickyFile = "StickyBoard2.txt",

to
--Sticky Message file.
StickyFile = "StickyBoard.txt",

i get the following error
message board.lua:468: attempt to concatenate field '?' (a nil value)

sir i will also like to know abt the anti-spamming progress as it will be a great addition to a great script

thanks in advance
"BoRN FIGhTEr"

achiever

Quote from: Yahoo on 21 May, 2007, 12:45:36
i get the following error
message board.lua:468: attempt to concatenate field '?' (a nil value)
check ur scripts folder for a file named StickyBoard.txt which is not needed i think, remove it and try running the script
thks,
achiever.

achiever

ok. i thought just removing the old files would do it.
thks,
achiever.

Creative

Hello Mutor,
                I hope you are working with the script for avoiding Spamming from users. :)

SMF spam blocked by CleanTalk