vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Yet Another Ranks System (https://vborg.vbsupport.ru/showthread.php?t=265893)

TheLastSuperman 08-13-2011 11:51 PM

Quote:

Originally Posted by j0k4w1ld (Post 2232586)
where is that?

You can edit the .xml however if your not experienced doing so it will be better to install, now go to the admincp and search in the phrases i.e.

AdminCP > Languages and Phrases > Phrase Manager

Now search for award or in the top right change the # to show from 15 to 1500 and now you can scroll all the phrases on one page, scroll down until you find those titled award this or that and have at it! ;).

Asterix_ita 08-14-2011 02:23 PM

Excuse me,

I would like to remove a rank assigned to the user xxx, how can I do?

I don't find "Remove ranks from members"

Thanks

Regards

TheLastSuperman 08-22-2011 04:29 PM

Quote:

Originally Posted by Asterix_ita (Post 2233393)
Excuse me,

I would like to remove a rank assigned to the user xxx, how can I do?

I don't find "Remove ranks from members"


Thanks

Regards

AdminCP > Rank System > Ranks Manager > Now beside the rank in question under "controls" on the right, click the underlined "[Give rank to user]" link > Now when the new page loads in admincp you can view a list of who has been assigned that particular rank at the bottom of the page, find the user and under "Controls" on the right click "Remove" then verify that you do want to remove and done ;).

:cool:

Asterix_ita 08-22-2011 06:18 PM

Thank you so much, I had missed.
Sorry but it isn't possible create a page for this action?

thank

regards

odie3 08-26-2011 05:00 PM

1 Attachment(s)
Hi my ranks are not showing up in the profile tab (like my awards are). Also, there is a extra tab floating around but I think that is from your awards MOD... guess I need to ask over that about that bit.

odie3 08-26-2011 06:42 PM

also, when I got my PM the https://vborg.vbsupport.ru/

TheLastSuperman 08-27-2011 03:58 AM

Quote:

Originally Posted by odie3 (Post 2238404)
Hi my ranks are not showing up in the profile tab (like my awards are). Also, there is a extra tab floating around but I think that is from your awards MOD... guess I need to ask over that about that bit.

Hmm... that could be the Awards mod itself, I fixed the floating tab when I converted it over to the Ranks mod along with sorting some other things etc etc. - Check out the Awards mod thread for a fix, it's there ;).

Quote:

Originally Posted by odie3 (Post 2238443)
also, when I got my PM the [img] tag was missing my web address - it only had [img]images/medals/gd/ranks/usmc-o8.gif[/img]

Not sure why that is, have you tried entering in the full url for the image location?

odie3 08-27-2011 03:07 PM

Hi TheLastSuperman,

I'll check the other thread for the "Floating Tab" issue. Not sure if that will correct my ranks not showing up on my Profile but here is additional information: I just gave a rank to a user that I have not assigned any awards to. His profile does not have a floating tab but his rank is showing under the "Rank" tab. Where as mine has a floating tap, my "Awards" are showing but not my "Rank". All related to "floating" tab fix you think? Just thought I pass this along just in case!

Yes, my paths are good, if I add http://ghostdogs.net to the path all is good.
http://ghostdogs.net/images/medals/gd/ranks/usmc-o8.gif

From PM (other than added * to break the img tag here)
Major General
[*img]images/medals/gd/ranks/usmc-o8.gif[*/img]


I added a * to the start/end of the tag - could it because it is missing the starting "/" (Slash)?


*Edit Summary:
Ok, I did the profile updates from the Awards MOD Page.
1. Floating Tab corrected in Profile
2. Missing ranks in Profile corrected

New Issue:
Now I have two tabs for "Awards" and for "Ranks"!

Old issue:
PM does not show rank graphic

TheLastSuperman 08-27-2011 05:17 PM

Sounds like something has become mucked up while you've been trying your best to sort the issues initially encountered.... if you just now installed either mod, it might be best to completely uninstall - afterwords you need to install one at a time, testing each this way you sort any issues in the first one installed before installing the second mod and you can then differentiate between the errors from both ;).

Edit: Also no, with BB Codes it starts as [EXAMPLE] and the contents in between i.e.

[EXAMPLE]Code that interacts w/ BB Code to render properly here[/EXAMPLE] so it only needs a ending tag i.e. the / to tell it "Hey we started reading this code now stop reading and show the output on screen" more or less.

odie3 08-27-2011 08:35 PM

1 Attachment(s)
Hmm, not sure then. I'll send myself another rank to see what happens.

Oh, after doing the full bits to sort out the "floating tab" in YAAS I still have two tabs for YARS -so I think that fix from that MOD is effecting this one in some way. Because now I am getting my ranks now but getting two tabs (once again only on this MOD not in Awards).


EDIT:
perhaps I misunderstood how that was supposed to work. that's clickable link, when I click it takes me to my rank, which is this: http://ghostdogs.net/ranks.php?do=viewrank&rank_id=38

TheLastSuperman 08-27-2011 09:48 PM

Quote:

Originally Posted by odie3 (Post 2238884)
Hmm, not sure then. I'll send myself another rank to see what happens.

Oh, after doing the full bits to sort out the "floating tab" in YAAS I still have two tabs for YARS -so I think that fix from that MOD is effecting this one in some way. Because now I am getting my ranks now but getting two tabs (once again only on this MOD not in Awards).


EDIT:
perhaps I misunderstood how that was supposed to work. that's clickable link, when I click it takes me to my rank, which is this: http://ghostdogs.net/ranks.php?do=viewrank&rank_id=38

Ahh do you use any DB Tech mods, anything other mod using the word "Rank" because this mod uses the "My Ranks" wording not "Ranks" so it could possibly be conflicting w/ another mod or vice-versa ;).

Edit: In the xml file the YARS - Profile Tab plugin is disabled, ensure while you were making those edits to your Yet Another Awards System mod due to the double-tabs, that you did not accidentally turn that back on etc.

odie3 08-29-2011 12:06 PM

You nailed it, YARS "YARS - Profile Tab" got enabled. Now I have one tab each both are showing their graphics properly.

The only question is if the Rank Graphic is suppose to show in the PM Message or just be a hyperlink that takes you to the rank.

Badhabitz 08-31-2011 01:35 PM

TheLastSuperman,
Thanks so much for transferring this over, it has been of great use to my community. We had over 200 usergroups with more on the way so we could display different ranks in each of the games we support.

My question is this,we currently use a roster and I could put in this code here {vb:raw userinfo.rank} And it would show up the usergroup ranks images. What code can I put in to display the image ranks from this plugin and possibly even the awards images from the original plugin as well. Any help or advice would be greatly appreciated.

Delazar 09-10-2011 09:35 PM

Hi,

is there a possibility that the medals have to import the users in YAAS to YARS?

Mobo 09-19-2011 10:31 AM

A couple of questions:

1. Is it possible for the system to give out medals based on length of site membership automatically? I'd like to give all my members anniversary medals, but there are too many to check this daily and manually award them.

2. What are the points used for? I assume that as a member is awarded a rank/medal/award, that they get the points associated with those awards. But what do they use those points for?

Thanks!

MalluParadise 09-20-2011 02:47 AM

It's working perfectly in 4.1.6

odie3 09-29-2011 03:33 PM

I have "Unregistered" users requesting Ranks - is there a way to keep Unregistered from doing this?

TheLastSuperman 09-29-2011 05:29 PM

Quote:

Originally Posted by Delazar (Post 2244406)
Hi,

is there a possibility that the medals have to import the users in YAAS to YARS?

You can via phpmyadmin however at this time there is no built-in option or "easy button" for that matter :(.

Quote:

Originally Posted by Mobo (Post 2247802)
A couple of questions:

1. Is it possible for the system to give out medals based on length of site membership automatically? I'd like to give all my members anniversary medals, but there are too many to check this daily and manually award them.

2. What are the points used for? I assume that as a member is awarded a rank/medal/award, that they get the points associated with those awards. But what do they use those points for?

Thanks!

Yes however it will need to be added in at some point in the future ;).

Points, so you can have Ranks and those have points... making it a real Rank system per say... I would imaging a Lt.Col rank would have more points than a Private First Class rank follow? :cool:.

Quote:

Originally Posted by MalluParadise (Post 2248108)
It's working perfectly in 4.1.6

Awesome :D

Quote:

Originally Posted by odie3 (Post 2251283)
I have "Unregistered" users requesting Ranks - is there a way to keep Unregistered from doing this?

Usergroup manager, now in the usergroups permissions scroll to the bottom and look for the option, set request to No :cool:.

SN1PERCITY 09-30-2011 02:20 PM

will you be converting this to 4.1.6

TheLastSuperman 10-01-2011 12:34 AM

Quote:

Originally Posted by SN1PERCITY (Post 2251639)
will you be converting this to 4.1.6

Go up... four posts i.e. post #56 ^

:cool:.

Capt C Ray 10-11-2011 01:09 AM

Ahoy TheLastSuperman,

In reading your description of this add-on, it looks close to what I am looking for, but not quite. The current medal system I have on our site allows our members to nominate other members and add comments as to why they are nominating said member. The admins then approve or dis-approve the medal.
We also have a tab that when clicked on shows al the medals we offer plus who has been awarded them.
Can this add-on be modified to do these same functions?
You may view the medals by visiting our web site http://www.disneypotco.com/phpBB3/index.php and clicking on the medals button.

Capt C Ray

TheLastSuperman 10-11-2011 04:24 PM

Quote:

Originally Posted by Capt C Ray (Post 2255769)
Ahoy TheLastSuperman,

In reading your description of this add-on, it looks close to what I am looking for, but not quite. The current medal system I have on our site allows our members to nominate other members and add comments as to why they are nominating said member. The admins then approve or dis-approve the medal.
We also have a tab that when clicked on shows al the medals we offer plus who has been awarded them.
Can this add-on be modified to do these same functions?
You may view the medals by visiting our web site http://www.disneypotco.com/phpBB3/index.php and clicking on the medals button.

Capt C Ray

In the Ranks mod you can:
- Members can recommend Ranks to other members w/ description, then admin approves or pushes through manually after review.
- You can create a new navbar tab to show the Ranks Page, same functionality you want pretty much.

So all-in-all it's actually closer to what you wanted then you realized if I read your request correctly ;).

Capt C Ray 10-11-2011 07:40 PM

Quote:

Originally Posted by TheLastSuperman (Post 2255960)
In the Ranks mod you can:
- Members can recommend Ranks to other members w/ description, then admin approves or pushes through manually after review.
- You can create a new navbar tab to show the Ranks Page, same functionality you want pretty much.

So all-in-all it's actually closer to what you wanted then you realized if I read your request correctly ;).

By this description, it appears you are correct. Now to just get a skin installed and this add-on to see what I have to work with.

Thanks much. :)

Capt C Ray 10-13-2011 09:28 PM

Do you know how this will function in version 4.1.6?

TheLastSuperman 10-13-2011 11:07 PM

Quote:

Originally Posted by Capt C Ray (Post 2256925)
Do you know how this will function in version 4.1.6?

https://vborg.vbsupport.ru/showpost....7&postcount=60
https://vborg.vbsupport.ru/showpost....7&postcount=56

Best advice I can give to anyone looking to install a mod is, if it's supported and/or has multiple pages of posts it's best advised to skim all the pages and see if any posts about issues or working with certain versions has been stated by the author or other members. Sometimes there are solutions to problems posted as well, for example the profile tab fix in the Yet Another Awards System is not listed in the mod files or mod description yet it exist and you can browse to find it and fix the issue yourself ;). In this case we see that it will work on 4.1.6 and should work on 4.1.7 as well :cool:.

CharlieDelta 10-15-2011 03:35 PM

Getting this error when I try to go to the ranks page. Using Vb 4.1.5.
Code:

Fatal error: Cannot redeclare construct_depth_mark() (previously declared in //....html/testvb/ranks.php:97) in /....html/testvb/includes/adminfunctions.php on line 1907

TheLastSuperman 10-15-2011 06:10 PM

Quote:

Originally Posted by CharlieDelta (Post 2257506)
Getting this error when I try to go to the ranks page. Using Vb 4.1.5.
Code:

Fatal error: Cannot redeclare construct_depth_mark() (previously declared in //....html/testvb/ranks.php:97) in /....html/testvb/includes/adminfunctions.php on line 1907

In ranks.php find:

PHP Code:

// ###################### Start makedepthmark #######################
function construct_depth_mark($depth$depthchar$depthmark '')
{
// repeats the supplied $depthmark for the number of times supplied by $depth
// and appends it onto $depthmark
    
for ($i 0$i $depth$i++)
    {
        
$depthmark .= $depthchar;
    }
    return 
$depthmark;


Replace with:

PHP Code:

if (!function_exists('construct_depth_mark'))
{
// ###################### Start makedepthmark #######################
    
function construct_depth_mark($depth$depthchar$depthmark '')
    {
    
// repeats the supplied $depthmark for the number of times supplied by $depth
    // and appends it onto $depthmark
        
for ($i 0$i $depth$i++)
        {
            
$depthmark .= $depthchar;
        }
        return 
$depthmark;
    }


*The reason for the error is simple, as you can see by the second part of your error this "function" was called again because it's defined twice - in short the guys who originally made the Awards mod (which this is a conversion of that) simply copy/pasted the function to suite the mod not taking into affect they should not. I've wrapped it in a simple conditional to check for the function first. Update will be in the next release, in the meantime please edit ranks.php accordingly if you encounter this issue as CharlieDelta has :cool:.

**Also, if your reading this and have the "Yet Another Awards System" installed you should do this same exact edit in awards.php

CharlieDelta 10-15-2011 06:23 PM

Thank you Superman!! That did the trick!!

CharlieDelta 10-15-2011 08:47 PM

My ranks are not showing up in the profile tab. I see that you mentioned in an earlier post that there is most likely a fix for it over at the awards mod. I have searched through there and all the fixes that I have found you already implemented. I must be missing something?????
I do not have two tabs or a ghost tab just no content.
I see Odie3 got his working, hmmmm......

Nuker_Viper 10-22-2011 02:37 PM

Quote:

Originally Posted by CharlieDelta (Post 2257571)
My ranks are not showing up in the profile tab. I see that you mentioned in an earlier post that there is most likely a fix for it over at the awards mod. I have searched through there and all the fixes that I have found you already implemented. I must be missing something?????
I do not have two tabs or a ghost tab just no content.
I see Odie3 got his working, hmmmm......

i have had the same problem so this is what i did:
Since i use the ranks for my clan members only and they can only have 1 rank at a time; i disabled the following in the Plugin Manger:

YARS in Member Profile - Cache Templates
YARS in Member Profile - Init
YARS in Member Profile - Profile

I also replaced $vbphrase[rank_description] the text "Description" with "Rank Duties"
And sme rank settings: userinfo_left and style 3 so that it just uses the icon. Disabled the image in the display. So no need to upload an image - just an icon.

This will disable the tab in your profiles but keep the postbit intact. Just make sure your postbit i set to at least 1 and it is active.

CharlieDelta 10-22-2011 03:40 PM

Quote:

Originally Posted by Nuker_Viper (Post 2260167)
i have had the same problem so this is what i did:
Since i use the ranks for my clan members only and they can only have 1 rank at a time; i disabled the following in the Plugin Manger:

YARS in Member Profile - Cache Templates
YARS in Member Profile - Init
YARS in Member Profile - Profile

I also replaced $vbphrase[rank_description] the text "Description" with "Rank Duties"
And sme rank settings: userinfo_left and style 3 so that it just uses the icon. Disabled the image in the display. So no need to upload an image - just an icon.

This will disable the tab in your profiles but keep the postbit intact. Just make sure your postbit i set to at least 1 and it is active.

Thanks for the input Viper.:up: This may come in handy in the future.
I was able to get everything working as it should. I think there must have been some code missing in the awards mod. I re-edited the templates and plugins as described on the thread by another user and that seemed to do the trick.

MalluParadise 10-23-2011 04:11 AM

working on 4.1.7?

TheLastSuperman 10-23-2011 05:59 AM

Quote:

Originally Posted by MalluParadise (Post 2260431)
working on 4.1.7?

https://vborg.vbsupport.ru/showpost....5&postcount=65

djpatch 10-23-2011 09:16 AM

Getting this error when I try to go to the ranks page. Using Vb 4.1.7.
Deprecated: Assigning the return value of new by reference is deprecated in forum\ranks.php on line 46

TheLastSuperman 10-23-2011 03:44 PM

Quote:

Originally Posted by djpatch (Post 2260465)
Getting this error when I try to go to the ranks page. Using Vb 4.1.7.
Deprecated: Assigning the return value of new by reference is deprecated in forum\ranks.php on line 46

More than likely it's due to your PHP version i.e. 5.3.x for now simply edit ranks.php and find:

Code:

$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
Replace with:

Code:

$bbcode_parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());
Save & re-upload the file, error should be gone, it's the =& that's causing all the fuss :p.

hanhdn 10-24-2011 07:56 AM

Hi TheLastSuperman ,
I can't not open http://srsc.com.vn/forum/ranks.php it show error:
This webpage is not available
The webpage at http://srsc.com.vn/forum/ranks.php might be temporarily down or it may have moved permanently to a new web address.
With recommend_rank.php and request_rank.php work fine
I'm sure that the url corrected

(my forum using vbb4.08 platform)

gamersplatoon 10-26-2011 12:52 PM

I'm having a header problem after i installed a fixed forum ,the ranks tab gets automatically fluid and it messes up the whole header and page width..
here is a screenshots,
i need help.

http://imageshack.us/f/694/19490726.png/
http://imageshack.us/f/225/94262547.png/

vb version 4.1.7

Please HELP ASAP>.

SN1PERCITY 10-27-2011 12:26 PM

Database error in vBulletin 4.1.6:

Invalid SQL:
ALTER TABLE rank ADD rank_allowrecommend TINYINT( 1 ) DEFAULT 1 NOT NULL,ADD rank_pointvalue TINYINT( 3 ) DEFAULT 0 NOT NULL;

MySQL Error : Duplicate column name 'rank_allowrecommend'
Error Number : 1060
Request Date : Thursday, October 27th 2011 @ 06:24:47 AM
Error Date : Thursday, October 27th 2011 @ 06:24:48 AM
Script : http://www.*******************/admin...=productimport
Referrer : http://www.******************/adminc...?do=productadd
IP Address : **.***.*.*****
Username : BIGADMIN
Classname : vB_Database
MySQL Version : 5.0.92-community-log

this is what im getting

MalluParadise 10-31-2011 01:10 AM

ranks.php is fixed in 4.1.7 ?

TheLastSuperman 10-31-2011 05:55 AM

Quote:

Originally Posted by SN1PERCITY (Post 2262030)
Database error in vBulletin 4.1.6

this is what im getting

I believe it's the last part of the install code for 3.8.3 version... will update if need be upon further review, will be in the new version though ;).

Quote:

Originally Posted by MalluParadise (Post 2263034)
ranks.php is fixed in 4.1.7 ?

Yes unless you are on PHP 5.3 then see here:
https://vborg.vbsupport.ru/showpost....1&postcount=75


All times are GMT. The time now is 05:03 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.01636 seconds
  • Memory Usage 1,871KB
  • 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
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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