Thread: Major Additions - Yet Another Ranks System
View Single Post
  #189  
Old 08-29-2013, 08:07 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sadiq6210 View Post
Try to store the CSS as files
admincp >> Settings >> Options >> Style & Language Settings >> Store CSS Stylesheets as Files? (Select "YES")

Results:
The <legend> is not working in postbit style
The default postbit style will be as same as (Style 2) where (Style 1) is not working. (There is no <legend>)

Any idea about how to fox this bug?
You need to view the file "Default CSS Data.txt" within the .zip, make sure you have the correct layout chosen then add the matching css to your additional.css file and adjust to suite.

Style 1 is supposed to have the legend, are you saying it's not within your default style when using style 1 option or are you running a custom style where something might be conflicting? I'm assuming it was not showing becuase there was no ranks.css file present, adding to additional.css file should sort this though.


Quote:
Originally Posted by Capt C Ray View Post
I just installed this mod in version 4.2.0. It shows in the ACP panel and it is set to show the link in the navigation bar. But the tab is not there. Any suggestions?
4.2.0 uses the navigation manager, visit the plugin manager and disable the ranks tab, now use the navigation manager to add a new tab for this .

Quote:
Originally Posted by fishmaster View Post
Anyone have any ideas?

Warning: mysql_insert_id() [function.mysql-insert-id]: Access denied for user 'nobody'@'localhost' (using password: NO) in [path]/admincp/rank.php on line 594

Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in [path]/admincp/rank.php on line 594

Works fine though..
Well at first it would read as if it was not connecting and/or you have incorrect config.php info however seeing as the forum works and this works minus the error I'm unsure unless you're on PHP 5.5 already but 5.5.0 released in June your post was from March and I know your host was not running a 5.5 release candidate so I'm unsure. It has been a while since I've had time to reply here so if your still running this and the issue is present let me know.

mysql_insert_id() is deprecated in php 5.5.0+ that is why it came to mind but again post date makes me think it was something else at the time.

Quote:
Originally Posted by mobile4persian View Post
how can i align styel 1 to center?

Off the top of my head... try adding this to additional.css OR replacing the definition in ranks.css template:

Code:
.ranks_legend {
float:none; text-align:center;
 }

Quote:
Originally Posted by mathforum View Post
I'm trying to include the ranks with the normal postbit info - join date, post, etc. and tried using the following code:

<vb:if condition="$post[showuserranks]"><dt>Awards</dt><dd>$post[userranks]</dd></vb:if>

What I see is this:



Any ideas?
That will not work, edit the appropriate template in the rank template of families based on what style for the ranks you have. AdminCP > Styles & Templates > Style Manager > Edit Templates > Yet Another Ranks System Templates
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02161 seconds
  • Memory Usage 1,785KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete