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)

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.


All times are GMT. The time now is 02:14 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.01351 seconds
  • Memory Usage 1,762KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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