Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=117)
-   -   My Staff shoutbox (http://www.bvlist.com/showthread.php?t=6747)

smoky28 12th July 2011 08:02

My Staff shoutbox
 
1 Attachment(s)
Hi I ask a staff shoutbox pack than which the admin / index.php is at the staff shoutbox

earnings from the admin / index.php line 533 and put it into the code line to 534 line

PHP Code:

begin_frame("");  include("../staffbox/staffbox.php");  echo $shoutbox;  end_frame(); 

This is part of sql

PHP Code:

CREATE TABLE IF NOT EXISTS `staffbox` (
  `
idint(10NOT NULL auto_increment,
  `
usernamechar(32NOT NULL default '',
  `
useridint(10unsigned NOT NULL default '0',
  `
namestylechar(100NOT NULL default '{username}',
  `
dateint(10unsigned NOT NULL default '0',
  `
contentvarchar(255NOT NULL default '',
  
PRIMARY KEY  (`id`),
  
KEY `userid` (`userid`)
ENGINE=MEMORY DEFAULT CHARSET=latin1 AUTO_INCREMENT=

http://noob.hu/2011/07/12/Red-Dragon...ffshoutbox.png

mmisu120000 24th August 2011 10:55

Works fine!

It's good your idea to put it in the staff panel ...

smoky28 24th August 2011 11:28

And even published ts 5.6 torrent-engine mods

Marco 13th January 2012 17:43

Hello
 
I wonder how i could make two shoutbox-es in same source...i mean i have two different people speak different languages how i could make to have each one a secondary shoutbox ?

thx in advance:)

eckeO5 13th January 2012 18:27

well for sure you first made the NEW table in sql like smoky wrote….so that way smokys staffbox has its own sql-table.

that the way it works.

smoky…i use tsse 5.6 by nc and must edit on line 530 in admin/index.php.

but now works fine….thx man :friend:

Marco 14th January 2012 14:48

yes i did the sql but the files is admin area and when i delete a shot goes to admin surface...so a little help will be apreciated :)

eckeO5 14th January 2012 23:15

you have to put the files lets better say folder, into rootfolder of your source.
only index you had to edit is the one from admin section.

if you set it up like smoky explains.

and for sure the delshot goes to admin area, cause it´s call is set through /admin/index.php Line 533, on my 5.6 nightcrawler its line 530 for example.

so that way your standard shout has not to be affected when you delete something in staffbox.

so to say the mod gives you a complete an standalone staffbox!!!!

PAX 6th March 2012 11:27

not, go into the crew?
 
very good mod, it is possible that the SB was on the homepage? not, go into the crew? thx :sos:

eckeO5 6th March 2012 12:52

well as i see? yes for sure.

smokys modification works in a frame, you´ll see when you look at the code.
so an the only thing that prevents that users can see staffbox are the rights.

so find out how to setup a new plugin and code frame in it and i thnk thats it.

PAX 6th March 2012 13:24

Well, im check, thanks for the information

. :ok:


All times are GMT +2. The time now is 14:05.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.