|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
ok seeing how im the only ubb on the net that i know of with this hack ill post the half working right code, this hack adds rpg status bars to a users post, it works just like the hack made for the vB forum system, note that there are a few bugs, nothing that will kill your forums, i would fix them but at the moment i do not have the time to, i know this is only a template mod at the moment but anyone here that can please fix the errors and take it as far as you like just give us (sage and myself) credit [edit]full hack zip now uplaoded  [/edit] I NO LONGER SUPORT THIS VERSON OF THE HACK, SEE THE 6.1 BETA FORUMS FO R THE NEW CODE, IT DOSE WORK IN 6.0x![ 01-01-2002 11:49 AM: Message edited by: Anime-loo ][ 01-05-2002 02:36 PM: Message edited by: Anime-loo ]
|
|
|
|
Joined: Aug 2001
Posts: 107
Member
|
Member
Joined: Aug 2001
Posts: 107 |
Cool been looking foward to this one...gonna install it soon [ 12-31-2001 10:14 AM: Message edited by: Drake ]
|
|
|
|
Joined: Jun 2000
Posts: 536
Member
|
Member
Joined: Jun 2000
Posts: 536 |
An error has occured: public_topic_page: Too many arguments for int at /home/coders-n/public_html/ultanime/ubb/Templates/public_topic_page.pl line 297, near "1)" Please inform the board administration of this error so that they may fix the problem. Thank you! http://www.ultanime.net/cgi-bin/ultimatebb.cgi What do I do to fix that error?
//i wanna scream, show the world i have an inside. i wanna bleed, let the blood flow, that keeps me alive.
|
|
|
|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
sorry mew i dont have 6.1 and i need to renew to get my member acess back, anyone?
|
|
|
|
Joined: Aug 2000
Posts: 12
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 12 |
That hack looks like you just ported it off of the iRPG ( http://www.irpg.da.ru) hack for Ikonboard with only few modifications (EXP is now in percentage format, and you added a "class system" which the iRPG developer is also working on). Even the image names are the same! [ 12-31-2001 12:35 PM: Message edited by: Agent ]
|
|
|
|
Joined: Aug 2001
Posts: 107
Member
|
Member
Joined: Aug 2001
Posts: 107 |
Could you tell me exactly where this goes Level: $showlevel $member_numberHP: $hp / $maxhp
MP: $mp / $maxmp
Exp: $ep%
  |
You said under the user name but i'm not 100% sure where i put it
|
|
|
Joined: Aug 2000
Posts: 12
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 12 |
I'm pretty sure you can put that anywhere you want, but under the username is the most common place to put it.
|
|
|
|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
quote: Originally posted by Agent: That hack looks like you just ported it off of the iRPG (http://www.irpg.da.ru) hack for Ikonboard with only few modifications (EXP is now in percentage format, and you added a "class system" which the iRPG developer is also working on).
Even the image names are the same!
[ 12-31-2001 12:35 PM: Message edited by: Agent ]
sage did the base coding, i only cleaned it up a bit, im sorry if its a port of that and not vB, the idea for it came form vB, ill give the authr credit when i clean the doc, Drake somewhere under $membernumber of watever the varible is, i dont have the templates in front of me right now, ill be posting a updated doc for this tonight
|
|
|
|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
full zip now uploaded, re download and isntall  .
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Great to see this out. Good work guys. 
|
|
|
|
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
|
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309 |
Ok, I'm new to this hack. What exactly does the exp, HP, and otherthing mean?
|
|
|
|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
hp mesures how active the member is, mp is a mesure of there time on the forum, exp is a avrage of both but its not working right
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
MP seems to be -1 from the Level. Does it have anything to do with it?
Also, the Status: should be there because the online/offline hack isn't in the stock code.
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Ok, i've got it in place under the avatar/custom status in a 6.1.0.3 ubb. Nice! But it does nothing. The hp-mp-exp stay zero. If this can calculate in the same way as on the demo forum above, then this is an awesome hack. [ 01-01-2002 08:11 AM: Message edited by: Variables ]
|
|
|
|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
quote: Originally posted by Variables: Ok, i've got it in place under the avatar/custom status in a 6.1.0.3 ubb.
Nice! But it does nothing. The hp-mp-exp stay zero. If this can calculate in the same way as on the demo forum above, then this is an awesome hack.
[ 01-01-2002 08:11 AM: Message edited by: Variables ]
ive been hearing the docs not doign right for some reason let me look back thru my files and ill get back to you
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Ok Anime. May the force be with you. 
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Very very Can it be modified for 6.1 ?
|
|
|
|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
im sure it can, i do not have 6.1 as i need to renew, anyone may take teh hack and mod and release a new verson to there liking, just give us credit 
|
|
|
|
Joined: Jun 2001
Posts: 26
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 26 |
i haven't got it, does this hack works in 6.1.x ubb ?
|
|
|
|
Joined: Jun 2000
Posts: 536
Member
|
Member
Joined: Jun 2000
Posts: 536 |
I got it to work on 6.1.0.3 but it messes up the tables ;-;.
//i wanna scream, show the world i have an inside. i wanna bleed, let the blood flow, that keeps me alive.
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
M.e.w. this is the section of the status/avatar: [/code]
Under it you can try this part of the code for public_topic.pl:
</pre></div></div><br><br>I've put a table close tag under it.<br><br>The other part of the public_topic.pl with this code:<br><br>[code] Could you give us the good code for 6.1.0.3?
[ 01-01-2002 05:04 PM: Message edited by: Variables ]
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
I just straight installed it to my 6.1.0.3(besides adding that missing | after the | )
And i'm getting the same 0 errors. It's there, but nothing.
http://forum.ivegeta.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=2;t=000416
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
It doesn't seem to work on 6.1.0 versions. I've tried to get it working but nothing. But I've seen it work successfully on 6.0x versions.
|
|
|
|
Joined: Jun 2000
Posts: 536
Member
|
Member
Joined: Jun 2000
Posts: 536 |
Yeah I can't get this to work with 6.1.0.3 =/. Oh well.
//i wanna scream, show the world i have an inside. i wanna bleed, let the blood flow, that keeps me alive.
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
In this kind of hack, there's no reason why it'll work in 6.0 and not in 6.1.
|
|
|
|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
sorry about the missing tabl and tr tags lemme fix that 
|
|
|
|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
zip updated sould have got all the tbale problems now 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
quote: Originally posted by raiyan: In this kind of hack, there's no reason why it'll work in 6.0 and not in 6.1.
I think I might know why it isn't working, I'm trying now to see if my theory is right.
|
|
|
|
Joined: Oct 2001
Posts: 40
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 40 |
i love this hack very much.
So can u port it to 6.1.0.x?
Because i use ubb 6.1.0.2
Waiting for you. Good luck
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I'm trying to get a fix for it, but it's AL and Sage's hack so they can do it.
|
|
|
|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
ok i have a 6.2 now, ill try to start testing it if i can
|
|
|
|
Joined: Jan 2002
Posts: 9
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 9 |
hi people i have ubb version 6.0.x but my rpg status bars won't work correctly. they appear but everything stands on zero. there isn't even a level. i'll post the code here: Public_Topic_Page.pl >To install you'll need to deleate a few things ----------- Find ----------- my $row = qq~ ------------------------------- ABOVE YES ABOVE, NOT BELOW! add ------------------------------- $maxhp= int ($maxhp); if ($maxhp <= 0) { $zhp = 1; } else { $zhp = $maxhp; } $hpf= int (100 * ($hp / $zhp)) - 1; $maxmp= ($user_profile[10] * $level) / 5; $mp= $user_profile[7] / 3; if ($mp >= $maxmp) { $mp = $maxmp; } $maxmp = int ($maxmp); $mp = int ($mp); if ($maxmp <= 0) { $zmp = 1; } else { $zmp = $maxmp; } $mpf= int (100 * ($mp / $zmp)) - 1; ----------- Find ----------- $show_public_name ---------- below add ---------- Level: $showlevel $member_numberClass: $user_status HP: $hp / $maxhp
MP: $mp / $maxmp
Exp: $ep% ________________ END HACKING the pictures are in the correct dir. but i can't figure out where the $showlevel is based on. HELP ME PLEASE
|
|
|
|
Joined: Jul 2001
Posts: 122
Member
|
Member
Joined: Jul 2001
Posts: 122 |
quote: Originally posted by Agent: That hack looks like you just ported it off of the iRPG (http://www.irpg.da.ru) hack for Ikonboard with only few modifications (EXP is now in percentage format, and you added a "class system" which the iRPG developer is also working on).
Even the image names are the same!
[ 12-31-2001 12:35 PM: Message edited by: Agent ]
this hack had nothing to do with iB, it was ahack edit from the vB vers. so you will get no credit. it is iB that copied vB, so dont bring bull to forums. 
[ 01-03-2002 02:58 AM: Message edited by: Sage Undertaker ]
|
|
|
|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
quote: Originally posted by CapSoft: hi people i have ubb version 6.0.x but my rpg status bars won't work correctly. they appear but everything stands on zero. there isn't even a level.
i'll post the code here: Public_Topic_Page.pl
>To install you'll need to deleate a few things
----------- Find -----------
my $row = qq~
------------------------------- ABOVE YES ABOVE, NOT BELOW! add -------------------------------
$maxhp= int ($maxhp); if ($maxhp <= 0) { $zhp = 1; } else { $zhp = $maxhp; } $hpf= int (100 * ($hp / $zhp)) - 1;
$maxmp= ($user_profile[10] * $level) / 5;
$mp= $user_profile[7] / 3; if ($mp >= $maxmp) { $mp = $maxmp; } $maxmp = int ($maxmp); $mp = int ($mp); if ($maxmp <= 0) { $zmp = 1; } else { $zmp = $maxmp; } $mpf= int (100 * ($mp / $zmp)) - 1;
----------- Find -----------
$show_public_name
---------- below add ----------
Level: $showlevel $member_number Class: $user_status
HP: $hp / $maxhp
MP: $mp / $maxmp
Exp: $ep%
________________ END HACKING
the pictures are in the correct dir.
but i can't figure out where the $showlevel is based on. HELP ME PLEASE
are your on 6.01-6.04?, ive only seen it work on 6.05, the only 6.04f i tried to install it on kicked the same error, upgrade to 6.05 via beyound compare and try to isntall
|
|
|
|
Joined: Jan 2002
Posts: 22
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 22 |
i got 6.05 but i got this error syntax error at /web/sites/188/coolguyrules/www.romsforaliving.f2s.com/ubb/Templates/public_topic_page.pl line 219, near "$showlevel HP" syntax error at /web/sites/188/coolguyrules/www.romsforaliving.f2s.com/ubb/Templates/public_topic_page.pl line 226, near " " (Might be a runaway multi-line >> string starting on line 224)
help please!!
|
|
|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
upload your clean back up and re hack public_topic_page.pl. looks like u pu the code int he wrong spot. reply with resluts.
|
|
|
|
Joined: Jan 2002
Posts: 22
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 22 |
i did , im a newbie and i did ,later i figured out where it should have been and it was working only one problem it looks like this
|
|
|
|
Joined: Jan 2002
Posts: 22
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 22 |
do anyone know in which file "Posts:__" is in?
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|
|
|