vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Multiple ranking System (https://vborg.vbsupport.ru/showthread.php?t=32063)

Mike Gaidin 04-25-2002 03:03 PM

This is probably a stupid question, but...

How do I display the ranks in my postbit template?

Mike Gaidin 04-25-2002 03:11 PM

nevermind. I'm a moron. :)

Lucrecia 06-03-2002 10:06 PM

I was wondering if there is a way to have this option of ranks available on the forumhome page also?

Lucrecia 06-05-2002 08:52 PM

For some reason custom Ranks are not staying. Other than that this hack is working perfectly. I am running 2.2.6. Sorry for the double post.

Lucrecia 06-11-2002 02:58 PM

*bump*

Lucrecia 06-20-2002 08:19 PM

*bump*

Sadie Frost 07-06-2002 03:44 AM

Well, I'm running 2.2.6 and it's working okay except that I can't get it to display the Ranksystem name instead of the number (I did the modification that's earlier in the thread and it had no effect). :)

Sadie Frost 07-15-2002 11:06 PM

Sorry for the double post ;)

Now my usertitles seemed to have reverted back to teh vbulletin defaults, though they seem to be okay in pms and they are set up correctly in the admin cp. They had been working previously...weird...

Edit: Okay, now everything's working, including the drop down box and the names instead of numbers. I updated user titles and that seemed to help

Zedd 07-20-2002 06:10 PM

I am having the problem of the ranks not staying too. If I update their titles, they display correctly. They are correct in their profile, but once a person starts posting they revert back to the default rank. Any ideas. I had the same trouble before in 2.2.4 and one day it just started to work right. I am niow on 2.2.6 and it does not work again. Should I just try and rehack the whole thing or does someone have an idea of why this is happening?

proxyMX 07-24-2002 06:10 PM

SO this basically creates like for example two different ranks sets
eg
Sorceress Sorcer
Queen King
etc?

Is there any way to restrict users from changing it? so Only Admins can change it?

Zedd 07-26-2002 06:27 PM

Sadie, you ever figure out how to get it to work?

proxyMX 07-27-2002 05:23 AM

seriously i dont get this hack, whta is it supposed to do, unless i can assign groups of people to use different rank systems i dont see much point in it either

Zedd 07-31-2002 01:50 AM

You make different rank system, they get to puick which one they want to use.

I run a site for an author. I have male ranks, female ranks, warrior, ranks, ect...

Zedd 07-31-2002 01:51 AM

Although I still need a fix for the ranks not staying

Sadie Frost 07-31-2002 02:29 AM

Quote:

Originally posted by Zedd
Sadie, you ever figure out how to get it to work?
Well, yes and no. I think what I did to get it to work was to update user titles in the admin cp.

Unfortuneately, now my host has upgraded to php 4.2 I think, and some of them are reverting again. I did the fix on vbulletin.com, but my boards are still acting funny. :(

But maybe try updating the titles if you haven't already :)

Quote:

Originally posted by proxyMX
seriously i dont get this hack, whta is it supposed to do, unless i can assign groups of people to use different rank systems i dont see much point in it either
I have LOTR boards, so I have a different set of usertitles for each character type (Hobbits, Elves etc). It's just something fun for the members :)

Kenji Wing 07-31-2002 07:34 AM

not a bad hack nice!

Zedd 08-01-2002 12:50 AM

I updated the users ramnks and it resets them all to what they shoudl be, but they revert as soon as a person posts.

proxyMX 08-01-2002 01:59 AM

I know it can be annoying, all i suggest is unistalling this until someone comes up with the oslution

proxyMX 08-01-2002 02:46 PM

It asks me to find "
$gettitle=$DB_site->query_first("SELECT title FROM usertitle WHERE minposts<=$user[posts] ORDER BY minposts DESC LIMIT 1");"

that is not in the document
there is one very similar that says
$gettitle=$DB_site->query_first("SELECT title FROM usertitle WHERE minposts<=".intval($user['posts'])." ORDER BY minposts DESC LIMIT 1");

proxyMX 08-01-2002 03:11 PM

Can i ask something? I want to make this so that a usergroup can be exclusively assigned a rank set
Eg.
Borg Usergroup gets the Borg Rankset.

And i dont want my users to be able to change their rankset, i want to be the only one to do this. How would i do this?

Sadie Frost 08-02-2002 02:37 AM

Remove the drop down box from their edit profile :) I'm not exactly sure where the code is without looking for it though :)

Flash_Prince 08-04-2002 08:27 PM

Hi,

I have installed the hack and it is running!

But there is still one Problem left, although is installed the updates.

The Ranksystem-Scrolldown is in the "Profile-Menu" in the Profile under the neccessary information for the registration, but the other informations like

Biography:
A few details about yourself
Location:
Where you live
Interests:
Your hobbies, etc
Occupation:
Your job

are also up under this topic, although they have been under "Additional information" before I installed the hack

What did I wrong.

I hope somebody is able to help me and excuse my english.

So long...

CU:D

*edit*: The custon User Titles are reverted back after changing them. This is the same Problem which the others have too.

P.S. I installed the fix, but the problems are still there.

PLEASE Help me.

Ryangel 08-06-2002 03:40 AM

This hack is great!

Just one question to anyone who can answer.
Mods and Admins will not see the titles and remain as mod/admin <- this is good. What i want is to add another variable eg. $rank_title , so that mods and admins can ALSO have their ranks displayed together with the normal $usertitle.

Ryangel 08-06-2002 04:25 AM

Ok i got what i wanted to work to work .... but it involves creating templates and editing some php files. but it worked....

also I've installed in vb2.2.6 and it seems to be working fine. (testing in my test board)

About the "custom User Titles are reverted back after changing them", how can i recreate it? I want to see if i have that problem..

Zedd 08-06-2002 11:06 PM

whne people who have picked a custom title post it reverts back to the original.

Although I think I have this fixed now

Streicher 08-08-2002 05:58 PM

Quote:

Originally posted by Flash_Prince
Hi,

I have installed the hack and it is running!

But there is still one Problem left, although is installed the updates.

The Ranksystem-Scrolldown is in the "Profile-Menu" in the Profile under the neccessary information for the registration, but the other informations like

Biography:
A few details about yourself
Location:
Where you live
Interests:
Your hobbies, etc
Occupation:
Your job

are also up under this topic, although they have been under "Additional information" before I installed the hack

What did I wrong.

I hope somebody is able to help me and excuse my english.

So long...

CU:D

*edit*: The custon User Titles are reverted back after changing them. This is the same Problem which the others have too.

P.S. I installed the fix, but the problems are still there.

PLEASE Help me.

Find in member.php

Code:

eval("\$customfields_required .= \"".gettemplate("register_customfields")."\";");
change in

Code:

eval("\$customfields .= \"".gettemplate("register_customfields")."\";");
And what ist this also in member.php:

Code:

$rankid = $$varname;
Should this not be:

Code:

$rankid = $varname;

Amasov 09-22-2002 02:23 AM

Quote:

Originally posted by Martyjp
On my board mods and admins can set their own titles, yet after installing this hack that no longer works, the option is still there but after they make the change it just reverts to the default title. Any ideas why?

Its no biggie as it can still be changed from the admin control panel, just wondering if I have done something wrong?

Has anybody found a solution for this problem? I have the same one :(

Everytime my mods change their profile, their ranktitel is reset to default.

SirSteve 11-30-2002 10:24 PM

Is this working for 2.2.9?

AZone 01-05-2003 02:15 AM

Yes, it is working on 2.2.9
One question - how to rename "Ranksystem" field? I need permission to rename this field through AdminCP , but not to remove. Help me please.

Sadie Frost 01-17-2003 01:54 PM

I'm not sure how to change the field name, but I would maybe search the files for the word ranksystem? Sorry, I know that's not much help.

Has anyone found a fix for the custom titles not staying? I have it set so people can choose a custom title after so many posts - but when people try to do it they still get their regular ranksystem title. Similarly, if I change it in the admincp, after a bit it reverts back to the ranksystem value. Anyone have any suggestions? :)

AZone 01-17-2003 03:48 PM

I tryed search files, but i'm not PHP specialist, so I need to know - where can I change it?

Thank you anyway.

TheRaven57 03-29-2003 02:53 AM

Quote:

Database error in vBulletin 2.2.1:

Invalid SQL: Select rankdetail.title from rankdetail where rankdetail.minposts <= 0 and rankdetail.rankid = ORDER BY rankdetail.minposts DESC LIMIT 1 mysql error: You have an error in your SQL syntax near 'ORDER BY rankdetail.minposts DESC LIMIT 1' at line 1
Did anybody ever discover a fix for this?

TheRaven57 03-29-2003 10:26 PM

Nevermind, I fixed the problem :) . Basically the error is in the admin/misc.php file. There you were intructed to replace a db query with:

PHP Code:

$getprofilefield=$DB_site->query_first("SELECT profilefieldid from profilefield where 1 and title = 
'Ranksystem' LIMIT 0, 1"
);
$gettitle=$DB_site->query_first("Select rankdetail.title from user left join userfield on user.userid = 
userfield.userid left join rankdetail on rankdetail.rankid = userfield.field" 
$getprofilefield[profilefieldid] . 
" where user.userid= $userid and rankdetail.minposts <= user.posts ORDER BY rankdetail.minposts DESC LIMIT 1"); 

The error is here:
PHP Code:

userfield.field 

"userfield.field" doesn't exist, the fields are given numbers. Depending on the field number for the Rank Category ID for your indivudual board, you enter that instead. (ie. If the column where your members choose the rank category they want to use is "field6" in your database then your code should read "userfield.field6"). I hope this helps out some of you with this problem. Besides that, great hack!

Sadie Frost 04-27-2003 01:46 AM

I have the same error but it's not being fixed by adding the field number...anyone have any suggestions?

http://www.lotr-boards.com
username and password = test

Edit: Okay, figured out that it was because I set editable by user to no in phpmyadmin. I still dont' want it to show up though...any suggestions on that?

SirSteve 05-05-2003 04:15 AM

Quote:

03-11-02 at 02:06 PM Zamora said this in Post #24
OK, this should handle the viewing-"bug".

Go into member.php

find


before this statement, insert




This is all, after uploading your member.php, you should see the Jedi Knight instead of the 1
have fun!


I just reinstalled this hack on 2.3.0 (upgraded) and I cannot get this part to work but everything else seems to be...

obiwan8472 05-20-2003 10:09 PM

same problem as last post.
It just displays '1' in the Edit Profile. :(
Anyone know a fix?

Thanx

Kaelon 07-24-2003 04:30 PM

Has anyone gotten this to work with vB 2.3.0?

Kaelon 07-25-2003 03:21 PM

Tested and tried - though some features work, this hack is largely unusable because of a sharp disconnect between the ranksystem select mechanism and the database. I could find no easy way to reconcile it.

Sovereign 06-22-2004 06:36 PM

Does anyone have a rankset thing for 3.0.x?

John Crichton 07-19-2004 05:14 PM

Really Need this for verson 3... anyone..

if I knew how to write a hack Id do it my self :P


All times are GMT. The time now is 03:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01837 seconds
  • Memory Usage 1,824KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete