Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
#138177 12/31/2001 10:06 AM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
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 smile
[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 ]

Sponsored Links
#138178 12/31/2001 11:14 AM
Joined: Aug 2001
Posts: 107
Member
Member
Offline
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 ]

#138179 12/31/2001 12:19 PM
Joined: Jun 2000
Posts: 536
Member
Member
Offline
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.
#138180 12/31/2001 12:36 PM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
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?

#138181 12/31/2001 1:30 PM
Joined: Aug 2000
Posts: 12
Junior Member
Junior Member
Offline
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 ]

Sponsored Links
#138182 12/31/2001 1:36 PM
Joined: Aug 2001
Posts: 107
Member
Member
Offline
Joined: Aug 2001
Posts: 107
Could you tell me exactly where this goes



Level: $showlevel
$member_number



HP: $hp / $maxhp





MP: $mp / $maxmp





Exp: $ep%






You said under the user name but i'm not 100% sure where i put it
#138183 12/31/2001 1:39 PM
Joined: Aug 2000
Posts: 12
Junior Member
Junior Member
Offline
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.

#138184 12/31/2001 1:59 PM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
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

#138185 12/31/2001 6:23 PM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
Joined: Jul 2001
Posts: 1,111
full zip now uploaded, re download and isntall .

#138186 12/31/2001 9:43 PM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Great to see this out. Good work guys.

Sponsored Links
#138187 01/01/2002 12:26 AM
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
Member / Blamoholic
Offline
Joined: Jan 2001
Posts: 1,309
Ok, I'm new to this hack. What exactly does the exp, HP, and otherthing mean?

#138188 01/01/2002 3:49 AM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
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

#138189 01/01/2002 4:36 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
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.

#138190 01/01/2002 9:09 AM
Joined: Dec 2000
Posts: 371
Member
Member
Offline
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 ]

#138191 01/01/2002 9:17 AM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
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

#138192 01/01/2002 9:24 AM
Joined: Dec 2000
Posts: 371
Member
Member
Offline
Joined: Dec 2000
Posts: 371
Ok Anime. May the force be with you.

#138193 01/01/2002 9:25 AM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
Joined: Jul 2001
Posts: 1,111
ok i beleive this code dose not work in 6.1+, this forum used this same doc and has a verson running right (http://www.demonzubb.f2s.com/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=1&t=000006)

#138194 01/01/2002 11:54 AM
Joined: Dec 2000
Posts: 371
Member
Member
Offline
Joined: Dec 2000
Posts: 371
Very very

Can it be modified for 6.1 ?

#138195 01/01/2002 12:48 PM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
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

#138196 01/01/2002 1:10 PM
Joined: Jun 2001
Posts: 26
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 26
i haven't got it, does this hack works in 6.1.x ubb ?

#138197 01/01/2002 1:19 PM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
Joined: Jul 2001
Posts: 1,111
quote:
Originally posted by Anime-loo:
ok i beleive this code dose not work in 6.1+, this forum used this same doc and has a verson running right (http://www.demonzubb.f2s.com/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=1&t=000006)


#138198 01/01/2002 5:51 PM
Joined: Jun 2000
Posts: 536
Member
Member
Offline
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.
#138199 01/01/2002 6:03 PM
Joined: Dec 2000
Posts: 371
Member
Member
Offline
Joined: Dec 2000
Posts: 371
M.e.w. this is the section of the status/avatar:

Code
[/code]

Under it you can try this part of the code for public_topic.pl:

Code
</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 ]

)

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
#138200 01/01/2002 7:09 PM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
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
#138201 01/01/2002 8:30 PM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
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.

#138202 01/01/2002 8:59 PM
Joined: Jun 2000
Posts: 536
Member
Member
Offline
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.
#138203 01/01/2002 9:22 PM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
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.

#138204 01/01/2002 9:34 PM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
Joined: Jul 2001
Posts: 1,111
sorry about the missing tabl and tr tags lemme fix that

#138205 01/01/2002 9:38 PM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
Joined: Jul 2001
Posts: 1,111
zip updated sould have got all the tbale problems now

#138206 01/01/2002 10:01 PM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
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.

#138207 01/02/2002 12:31 AM
Joined: Oct 2001
Posts: 40
Junior Member
Junior Member
Offline
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

#138208 01/02/2002 3:19 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
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.

#138209 01/02/2002 6:54 PM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
Joined: Jul 2001
Posts: 1,111
ok i have a 6.2 now, ill try to start testing it if i can

#138210 01/03/2002 3:26 AM
Joined: Jan 2002
Posts: 9
Junior Member
Junior Member
Offline
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 smile


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

#138211 01/03/2002 3:49 AM
Joined: Jul 2001
Posts: 122
Member
Member
Offline
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. smile

[ 01-03-2002 02:58 AM: Message edited by: Sage Undertaker ]

#138212 01/03/2002 5:15 AM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
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 smile


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

#138213 01/03/2002 6:17 AM
Joined: Jan 2002
Posts: 22
Junior Member
Junior Member
Offline
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!!
#138214 01/03/2002 6:59 AM
Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
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.

#138215 01/03/2002 7:48 AM
Joined: Jan 2002
Posts: 22
Junior Member
Junior Member
Offline
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

#138216 01/03/2002 7:56 AM
Joined: Jan 2002
Posts: 22
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 22
do anyone know in which file "Posts:__" is in?

Page 1 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services