Raised This Month: $12 Target: $400
 3% 

A Werking forum mod


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dath
Junior Member
Join Date: Oct 2004
Old 07-19-2005 , 03:59   A Werking forum mod
Reply With Quote #1

Ok well i got all my shit up and running http://clan-dark.recongamer.com/forum/stats.php hope you all like this shit it fucking kicks ass. keep me up to date on this shit.
Dath is offline
Send a message via AIM to Dath
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 07-19-2005 , 08:41  
Reply With Quote #2

Oh.. Shoot.
I just found a bug in the mod..
I forgot to delete something...
Go to your config2.php, and delete:

Code:
echo"<table class=\"forumline\" align=\"center\" cellpadding=\"3\" cellspacing=\"1\" width=85%>
	<tr>
    <td class=\"catHead\" width=\"250\" valign=\"top\">
	NOTE! This is only a demo version of the SuperHero Mod Stats system. It will not be updated.</td>
	</tr>
	</table>
";
__________________
//ShadowLeader - 123
123 is offline
Dath
Junior Member
Join Date: Oct 2004
Old 07-19-2005 , 14:06  
Reply With Quote #3

ok well i did that and like i thoguth it would take out that tbanner. but what about this fatal error i get
Code:
Fatal error: Call to a member function on a non-object in C:\inetpub\clan-dark\forum\includes\page_tail.php on line 48
and are you good at this php shit cuz i'm not i'm learning but i kinda wanna modify dustygreen for it but its a lil hard on that one.
Dath is offline
Send a message via AIM to Dath
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 07-19-2005 , 14:56  
Reply With Quote #4

You mean take off the top banner ?

- Simply make a new picture (730x167) name it top_logo.jpg, and replace the one in the 'gfx' folder.

About the error you get.
I think that your line 48 in includes/page_tail.php looks like this:
Code:
$db->sql_close();
Mine looks like this:
Code:
//$db->sql_close();
About the dustygreen template, it should work, just by doing what the install docs says.
Then the system will change to the colors dustygreen uses.
__________________
//ShadowLeader - 123
123 is offline
Dath
Junior Member
Join Date: Oct 2004
Old 07-19-2005 , 15:28  
Reply With Quote #5

ok cool thats fofr the code but no i don't even have that on the top of my thing. but i got dust green to werk. its harder cuz its a pull out menu. and cahrcole is giving me problems cuz its looking kinda funky.

Code:
// --></script>
</csactiondict>
</head>
<body onload="preloadImages();" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<div align="center">
<a name="top"></a>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="349">[img]templates/Charcoal2/images/logo.jpg[/img]</td>
<td width="81" background="templates/Charcoal2/images/header_topback1.jpg"></td>
<td align="right" width="296" background="templates/Charcoal2/images/header_topback1.jpg">[img]templates/Charcoal2/images/topcurve.jpg[/img]</td>
<td background="templates/Charcoal2/images/rightcurve.jpg"></td>
</tr>
<tr>
<td width="349">[img]templates/Charcoal2/images/slogan.jpg[/img]</td>
<td width="81" background="templates/Charcoal2/images/header_topback2.jpg"></td>
<td width="296">[img]templates/Charcoal2/images/profile.jpg[/img]</td>
<td></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="38">[img]templates/Charcoal2/images/faq.jpg[/img]</td>
<td width="51">[img]templates/Charcoal2/images/search.jpg[/img]</td>
<td width="75">[img]templates/Charcoal2/images/memberlist.jpg[/img]</td>
<td width="81">[img]templates/Charcoal2/images/usergroups.jpg[/img]</td>
<td width="62">[img]templates/Charcoal2/images/register.jpg[/img]</td>
<td width="111">[img]templates/Charcoal2/images/pms.jpg[/img]</td>
<td width="203">[img]templates/Charcoal2/images/login.jpg[/img]</td>
<td width="28">[img]templates/Charcoal2/images/S.H.Mod.jpg[/img]</td>
</table>
sorry for so much code but i can't see where my problem is thats making it look like this
Attached Images
File Type: gif Screenshot.gif (17.2 KB, 685 views)
Dath is offline
Send a message via AIM to Dath
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 07-19-2005 , 15:41  
Reply With Quote #6

My bad... Im not really awake.
That top picture was from the stats system, not the forum mod.
About the menu, just find the code for it in another file, and add it to the pages...
I don't suggest that you use templates with pictures in the page_header, because then you need to make a picture that looks like the rest, but with Stats printed on it.

If you want me to take a look at the dustygreen, I might have a little spot in my time-plan to look at it tomorrow.
Though I need to finish my second version of the Stats System.
__________________
//ShadowLeader - 123
123 is offline
AZNDARKEVILDEMON
Senior Member
Join Date: Jun 2005
Location: USA
Old 07-19-2005 , 15:44  
Reply With Quote #7

the hero part doesn't work on your,

Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\inetpub\clan-dark\forum\sh_hero.php on line 61
AZNDARKEVILDEMON is offline
Send a message via AIM to AZNDARKEVILDEMON Send a message via Yahoo to AZNDARKEVILDEMON
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 07-19-2005 , 15:49  
Reply With Quote #8

That is because he did not create the 'sh_hero_database' in his mysql database.
__________________
//ShadowLeader - 123
123 is offline
Dath
Junior Member
Join Date: Oct 2004
Old 07-19-2005 , 15:52  
Reply With Quote #9

nope i got dustygreen to werk that was teh easy one and the S.h.mod is waht is the stats will be under. aand how do i creat the database?
Dath is offline
Send a message via AIM to Dath
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 07-19-2005 , 15:53  
Reply With Quote #10

Btw.
You might want to edit your 'admin/admin_add_hero.php'
Line 46, 54, 61

- Change 'phpBB2' to the dir you forum is in, otherwise you will get a big load of errors when you are trying to add heroes...
__________________
//ShadowLeader - 123
123 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode