I've noticed recently that quite a few of the people here have dynamic sigs that show the status of their nuke sites. How do you go about making one of them? I have one that runs off WinAmp, but that's for music, and I want one for my site.
Thanks in advance,
Prism128
BrainSmashR Support Mod
Joined: Jan 05, 2004
Posts: 1390
Location: Louisiana, USA
Posted:
Thu Jun 10, 2004 9:15 am
What, like mine?
It's even cooler if you have a registered nick on my site (hint, hint).....anyway, my lunch break is almost over.. I'll be back in about 4 hours and I'll pull the script from my server and post it here for you then.
_________________
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Prism128 Sergeant
Joined: Jan 01, 2004
Posts: 88
Location: Where they won't find me...
Posted:
Thu Jun 10, 2004 10:56 am
thanks for your reply.
yeah, that's exactly what i mean.
_________________
wakeboarder Sergeant
Joined: Nov 17, 2003
Posts: 95
Posted:
Thu Jun 10, 2004 10:59 am
I'd also like to know
BrainSmashR Support Mod
Joined: Jan 05, 2004
Posts: 1390
Location: Louisiana, USA
Posted:
Thu Jun 10, 2004 1:10 pm
Hmmm, seems you missed the part about REGISTERING AT MY SITE GOOBERS, but anyway.....
This was written for CPGNuke, so I do not know if it will work for regular phpNuke......if it give you problems, I DO have another that will work on phpNuke.
This particular signature will display your information where ever you see it (assuming you have registered at my site) instead of showing you as an Anonymous user.
Also, it does not identify your Nuke or phpBB version, I just added that. otherwise save this script as signature.php and store in the root directoy of your Nuke site
This one DOES read your Nuke Version and phpBB version, but I had to add the CPG to mine.
Code:
<?php
require_once("./mainfile.php");
$phpbb_root_path = './modules/Forums/';
define('IN_PHPBB', true);
include ('./config.php');
include ('./db/db.php');
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$user_forum_sql = ( !empty($forum_id) ) ? "AND s.session_page = " . intval($forum_id) : '';
$sql = "SELECT u.username, u.user_id, s.session_logged_in, s.session_ip
FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s
WHERE u.user_id = s.session_user_id
AND s.session_time >= ".( time() - 3600 ) . "
$user_forum_sql
ORDER BY u.username ASC, s.session_ip ASC";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user/online information', '', __LINE__, __FILE__, $sql);
}
$logged_online = 0;
$prev_user_id = 0;
while( $row = $db->sql_fetchrow($result) )
{
// User is logged in and therefor not a guest
if ( $row['session_logged_in'] )
{
// Skip multiple sessions for one user
if ( $row['user_id'] != $prev_user_id )
{
$logged_online++;
}
_________________
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
dc1bot Nuke Soldier
Joined: Jun 10, 2004
Posts: 15
Posted:
Fri Jun 11, 2004 3:58 am
I have just found this script for one like mine shown below. Comes ready to upload and you can edit it if you want / change logo etc... hope you like ti .get it from my site www.nokiawarez ... ?>>
Ok i already got a dynamic sig but it won't show on my forum, how do i setup my forum to allow it. I am running BBtoNuke 2.0.7
Prism128 Sergeant
Joined: Jan 01, 2004
Posts: 88
Location: Where they won't find me...
Posted:
Fri Jun 11, 2004 11:33 am
make sure you have put it in the image tags:
Code:
[img]http://yoursite.com/signiture.php[/img]
like that, but change the address and name of file to suit yours.
Is it on the same server?
Is there a background-type image?
Is the name right in the code?
Are you allowed to use .php as an image extension?
Are the GD extensions installed? (EG. can you see the little security images or do they no work/or are they disabled?)
Make sure the answers to the above questions are "yes", then it should work.
_________________
Sniperwolf-UA- Nuke Soldier
Joined: Apr 28, 2004
Posts: 11
Posted:
Fri Jun 11, 2004 1:17 pm
Prism128 wrote:
make sure you have put it in the image tags:
Code:
[img]http://yoursite.com/signiture.php[/img]
like that, but change the address and name of file to suit yours.
Is it on the same server?
Is there a background-type image?
Is the name right in the code?
Are you allowed to use .php as an image extension?
Are the GD extensions installed? (EG. can you see the little security images or do they no work/or are they disabled?)
Make sure the answers to the above questions are "yes", then it should work.
Is it on the same server?= Yes
Is there a background-type image?= .png extension
Is the name right in the code?= yes
Are you allowed to use .php as an image extension?= how would i know?
Are the GD extensions installed? (EG. can you see the little security images or do they no work/or are they disabled?)= What?
I am the admin for our website and forum and i have never seen any of this, and i am a total n00b to this so sorry for not understanding what you are talking about.
Is it possible to do this in the forum admin or do i need to mess around with some script or something?
This is the dynamic sig in question
Prism128 Sergeant
Joined: Jan 01, 2004
Posts: 88
Location: Where they won't find me...
Posted:
Sat Jun 12, 2004 4:46 am
well its working there.
Quote:
Are you allowed to use .php as an image extension?= how would i know?
Are the GD extensions installed? (EG. can you see the little security images or do they no work/or are they disabled?)= What?
as you say ur the site admin, do u see the little image w/ 6 random numbers on or is it turned off? and u may need an .htaccess file to let it work, but as its working now, i dont think it matters.
_________________
BrainSmashR Support Mod
Joined: Jan 05, 2004
Posts: 1390
Location: Louisiana, USA
Posted:
Sat Jun 12, 2004 5:38 am
I'm pretty sure you cannot use your own dynamic signature on your own site.
_________________
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum