PDA

View Full Version : Help!!!!!!!!!!!


Graphics
10-05-2002, 07:31 PM
I was trying to install the mood hack. Then I pressed the wrong button with postbit template or something, and all my RPG stats, (we have an RPG) disappeared! I need to revert the template to it was! Any way?

:cry: :cry: :cry:

Xenon
10-05-2002, 07:39 PM
you have reverted your template back to the global one?

well there's no chance unless you have :
a) a sort of backup template hack installed and made a backup of your template
b) have a backup of your DB and manually reinsert the template you've deleted

Graphics
10-05-2002, 07:41 PM
OK OK, I've got a DB Backup from a while ago. But it should do fine. Where should I got in the document to manually revert it?

Xenon
10-05-2002, 07:47 PM
There is no real document out there, it's a very special fall...

you have to open your backupfile with a sort of texteditor

then do a search for the word 'postbit' (include the ')
you should find at least two lines (depends on the ammoun of templatesets you have) like that:
INSERT INTO template....
try to find the right one by checking the content of the template (setid should be 1)

copy the complete line and insert it into your sql-query box in phpmyadmin and run it.

normally that should do the trick.

be sure your have your postbit reverted, so it'll correctly import it to the default set

Graphics
10-05-2002, 07:49 PM
Damn it can't find any. Just posts. I'm done for.

Btw, Notepad counts as a text editor eh?

Xenon
10-05-2002, 09:49 PM
lool, yes notepad is a texteditor, but i'm wondered.

i didn't thought it'll take up with a complete DB-backup...

but the template must be there, if you have backedup your whole db..

Graphics
10-06-2002, 09:03 AM
OK OK, I found it. The exact same template, I transferred it to my postbit template then, it whacks. It looks more or less the same, except it has a big black chunk along the top, and some of the text is different fonts, and some blue text. I had a look at it but I can't see the cause of this problem. It also puts a little ';)' (without quotes) at the bottom of every post. And a strange border takes it's place around the post too. Here is my template:

<table bgcolor=\"#FFFFFF\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td width=\"10\"><img width=\"10\" height=\"1\" src=\"https://vborg.vbsupport.ru/vbimages/space.gif\" alt=\"\"></td><td width=\"100%\"><!-- spacer --> <TABLE cellSpacing=0 cellPadding=0 width=750 align=center bgColor=#000000 border=0> <TBODY> <TR> <TD> <DIV id=p74547h style=\"DISPLAY: none\"> <TABLE cellSpacing=1 cellPadding=4 width=\"100%\" border=0> <TBODY> <TR> <TD vAlign=top noWrap width=175 bgColor=#4b688c>&nbsp;</TD> <TD vAlign=top width=\"100%\" bgColor=#4b688c> <TABLE cellPadding=0 width=\"100%\" border=0 0?> <TBODY> <TR> <TD><a name=\"post$post[postid]\"></a> $post[firstnewinsert]$post[icon]</TD> <TD noWrap align=right><smallfont> <b>$post[title]</b></smallfont></TD> </TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV> <DIV id=p74547e> <TABLE cellSpacing=1 cellPadding=4 width=\"100%\" border=0> <TBODY> <TR> <TD vAlign=top noWrap width=175 bgColor=#4b688c> <TABLE cellSpacing=0 cellPadding=0 width=168> <TBODY> <TR> <TD width=24><IMG height=23 src=\"images/top_left.gif\" width=24></TD> <TD vAlign=center width=142 bgColor=#4a7b9d> <DIV align=center><B><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\" color=\"#cccccc\">Static Lisence</font></B></DIV> </TD> <TD width=10> <DIV align=right><IMG height=23 src=\"images/top_right.gif\" width=24></DIV></TD></TR></TBODY></TABLE> <TABLE cellSpacing=1 cellPadding=2 width=168> <TBODY> <TR> <TD vAlign=center width=32 bgColor=#4a7b9d><B><FONT face=\"Verdana, Arial, Helvetica, sans-serif\" color=#cccccc size=1>Name:</FONT></B></TD> <TD vAlign=center bgColor=#92a4b0 colSpan=3> <DIV align=center><FONT size=1><B><font face=\"Verdana, Arial, Helvetica, sans-serif\" color=\"#FFFFFF\">$storeextraglow</font></B></FONT></DIV> </TD> </TR> <tr> <TD vAlign=center width=32 bgColor=#4a7b9d><B><FONT face=\"Verdana, Arial, Helvetica, sans-serif\" color=#cccccc size=1>ID:</FONT></B></TD> <TD vAlign=center width=38 bgColor=#92a4b0> <DIV align=center><FONT color=#ffffff size=1><B><font face=\"Verdana, Arial, Helvetica, sans-serif\">$post[userid]</font></B></FONT></DIV> </TD> <TD vAlign=center width=24 bgColor=#4A7B9D><b><font face=\"Verdana, Arial, Helvetica, sans-serif\" color=\"#cccccc\" size=\"1\">Posts:</font></b></TD> <TD vAlign=center width=26 bgColor=#92a4b0> <DIV align=center><FONT color=#ffffff size=1 face=\"Verdana, Arial, Helvetica, sans-serif\"><B>$post[posts]</B></FONT></DIV> </TD> </tr> <TR> <TD vAlign=center width=32 bgColor=#4a7b9d><B><FONT face=\"Verdana, Arial, Helvetica, sans-serif\" color=#cccccc size=1></FONT></B></TD> <TD vAlign=center bgColor=#92a4b0 colSpan=3> <DIV align=center><FONT size=1 color=\"#FFFFFF\" face=\"Verdana, Arial, Helvetica, sans-serif\"><B> $post[avatar]</B></FONT></DIV> </TD> </TR> <TR> <TD vAlign=center width=32 bgColor=#4a7b9d> <DIV align=center><font face=verdana, arial, helvetica, sans-serif color=#cccccc size=1><b>RPG Info:</b></font></DIV> </TD> <TD vAlign=center bgColor=#92a4b0 colSpan=3> <DIV align=center> <p align=\"left\"><b><font color=\"#FFFFFF\" face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"1\">$rpgclass3<br> Level: $showlevel<br> Class: $rpgclass2<br> Race: $race<br> Alignment: $rpgalign </font></b></DIV> </TD> </TR> <TR> <TD vAlign=center width=32 bgColor=#4a7b9d><B><font face=\"Verdana, Arial, Helvetica, sans-serif\" color=\"#cccccc\" size=\"1\">Items:</font></B></TD> <TD vAlign=center bgColor=#92A4B0 colSpan=3> <DIV align=center><FONT face=\"Verdana, Arial, Helvetica, sans-serif\" color=#333333 size=1><b>$post[items]</B></FONT></DIV> </TD> </TR> <tr> <TD vAlign=center width=32 bgColor=#4a7b9d><B><FONT face=\"Verdana, Arial, Helvetica, sans-serif\" color=#cccccc size=1>HP:</FONT></B></TD> <TD vAlign=center width=38 bgColor=#92a4b0> <DIV align=center><FONT color=#ffffff size=1><B><font face=\"Verdana, Arial, Helvetica, sans-serif\">$hp/<br>$maxhp</font></B></FONT></DIV> </TD> <TD vAlign=center width=24 bgColor=#4A7B9D><b><font face=\"Verdana, Arial, Helvetica, sans-serif\" color=\"#cccccc\" size=\"1\">MP:</font></b></TD> <TD vAlign=center width=26 bgColor=#92a4b0> <DIV align=center><FONT color=#ffffff size=1 face=\"Verdana, Arial, Helvetica, sans-serif\"><B>$mp/$maxmp </B></FONT></DIV> </TD> </tr> <tr> <TD vAlign=center width=32 bgColor=#4a7b9d><b><font face=\"Verdana, Arial, Helvetica, sans-serif\" color=\"#cccccc\" size=\"1\">Gils:</font></b></TD> <TD vAlign=center width=38 bgColor=#92a4b0> <DIV align=center><B><font face=\"Verdana, Arial, Helvetica, sans-serif\"><FONT color=#ffffff size=1>$post[storep]&nbsp;</FONT></font></B></DIV> </TD> <TD vAlign=center width=24 bgColor=#4A7B9D><B><FONT face=\"Verdana, Arial, Helvetica, sans-serif\" color=#cccccc size=1>EXP:</FONT></B></TD> <TD vAlign=center width=26 bgColor=#92a4b0> <DIV align=center><FONT color=#ffffff size=1 face=\"Verdana, Arial, Helvetica, sans-serif\"><B>$ep% </B></FONT></DIV> </TD> </tr> <TR> <TD vAlign=center width=32 bgColor=#4a7b9d><B><font face=\"Verdana, Arial, Helvetica, sans-serif\" color=\"#cccccc\" size=\"1\">Awards:</font></B></TD> <TD vAlign=center bgColor=#92A4B0 colSpan=3> <DIV align=center><FONT color=#000000 size=1><B><FONT face=\"Verdana, Arial, Helvetica, sans-serif\"><FONT color=#333333>$post[hasaward]</FONT></FONT></B></FONT></DIV> </TD> </TR> </TBODY> </TABLE> <TABLE cellSpacing=0 cellPadding=0 width=166> <TBODY> <TR> <TD width=24><IMG height=23 src=\"images/bottom_left.gif\" width=24></TD> <TD vAlign=center width=118 bgColor=#4a7b9d> <DIV align=center><B><font face=\"Verdana, Arial, Helvetica, sans-serif\" color=\"#cccccc\" size=\"1\">$post[usertitle]</font></B></DIV> </TD> <TD width=22> <DIV align=right><IMG height=23 src=\"images/bottom_right.gif\" width=24></DIV></TD></TR></TBODY></TABLE><FONT face=\"verdana, arial, helvetica\" size=1></FONT> <P><FONT face=verdana,arial,helvetica size=1></FONT> <P><FONT face=verdana,arial,helvetica size=1></FONT></P></TD> <TD vAlign=top width=\"100%\" bgColor=#4b688c><FONT face=verdana,arial,helvetica size=1></FONT> <P>&nbsp;</P> <P><font color=\"#FFFFFF\"><normalfont>$post[message]</normalfont><br> <FONT face=\"verdana, arial, helvetica\" size=1><br> $post[attachment]<br> $post[signature]<br> <br> </FONT><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">$post[editedby]</font></font></P> <P></P><font color=\"#FFFFFF\"><BR> </font> <DIV align=right><font color=\"#FFFFFF\"><smallfont><a href=\"report.php?s=$session[sessionhash]&postid=$post[postid]\">Report this post to a moderator</a> | $post[iplogged]</font></smallfont></DIV</TD> </div> </TR> <TR> <TD noWrap width=175 bgColor=#4b688c><FONT face=verdana,arial,helvetica size=1><smallfont>$post[foldericon] $post[postdate] <font color=\"#666686\">$post[posttime]</font></smallfont></FONT></TD> <TD vAlign=center width=\"100%\" bgColor=#4b688c> <TABLE borderColor=#000000 cellSpacing=0 cellPadding=0 width=\"100%\" border=0> <TBODY> <TR vAlign=bottom> <TD> </TD> <TD noWrap align=right>&nbsp;</TD></TR> <TR vAlign=bottom> <TD>&nbsp;<smallfont>$onlinestatus $post[profile] $post[pmlink] $post[useremail] $post[homepage] $post[search] $post[buddy] <!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] --> <B><FONT color=#ffffff size=1>[</FONT>$donate<font face=\"Verdana, Arial, Helvetica, sans-serif\" color=\"#FFFFFF\" size=\"1\">]</font></B></smallfont></td> <td align=\"right\" nowrap><smallfont></TD> <TD noWrap align=right><FONT face=verdana,arial,helvetica size=1><a href=\"editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]\"><img src=\"https://vborg.vbsupport.ru/vbimages/edit.gif\" border=\"0\" alt=\"Edit/Delete Message\"></a> <a href=\"newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]\"><img src=\"https://vborg.vbsupport.ru/vbimages/quote.gif\" border=\"0\" alt=\"Reply w/Quote\"></a> </FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE><!-- spacer --></TD> </TR></TABLE><!-- spacer --><table> <td width=\"10\"><img width=\"10\" height=\"1\" src=\"https://vborg.vbsupport.ru/vbimages/space.gif\" alt=\"\"></td></table>');

I've had to put this template up without the [CODE] tags because when I did, the template spread away along the page in one big line.
I hope some of you vB masterminds can help here, because my forum is really mesed up... :bored:

Graphics
10-06-2002, 01:29 PM
Nevermind, I've got it fixed. :)