AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SuperHero Mod Stats - By 123 (https://forums.alliedmods.net/forumdisplay.php?f=50)
-   -   A Werking forum mod (https://forums.alliedmods.net/showthread.php?t=34068)

Dath 07-19-2005 03:59

A Werking forum mod
 
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.

123 07-19-2005 08:41

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>
";


Dath 07-19-2005 14:06

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.

123 07-19-2005 14:56

You mean take off the top banner ?
http://pandersenfisk.dk/stats/blue/gfx/top_logo.jpg
- 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.

Dath 07-19-2005 15:28

1 Attachment(s)
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

123 07-19-2005 15:41

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.

AZNDARKEVILDEMON 07-19-2005 15:44

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

123 07-19-2005 15:49

That is because he did not create the 'sh_hero_database' in his mysql database.

Dath 07-19-2005 15:52

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?

123 07-19-2005 15:53

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...


All times are GMT -4. The time now is 06:54.

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