Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbRosterMaster Details »»
vbRosterMaster
Version: 2.2.0, by pedigree pedigree is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.x Rating:
Released: 06-08-2007 Last Update: 11-09-2007 Installs: 23
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

A mod that displays your Everqeust II guild roster.

This is a port of the Stand Alone version by Eric Sauvageau (and therefore isnt all my code) There was PHP template code in there and Ive changed a lot of it into vBulletin templates but some still exists. It was faster to leave it in php but I might change it a later version.

Changes
Plugin / Hook : 3
Templates : 12

If you use it, PLEASE click Installed. This is my first ever released mod. If you find a bug or have a suggestion, please post it, I want to make people use it and like it.

10 Nov 2007 - Updated a page to fix the missing navbar, school boy error, sorry, just extract the files in rostermaster_navbar_fix.zip, overwritting the existing one

Troubleshooting

If you follow all the instructions and your roster wont update.
- Turn off CURL support in the admin settings. Its enabled by default and it seems that a lot of PHP hosts dont support it. Will be fixed in the next version of the code

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 07-27-2007, 07:48 PM
pedigree pedigree is offline
 
Join Date: Jul 2005
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I HATE IE, its the most god awful non-compliant crap out there but some people still use it (I dont care, I dont code for it) .

If your borders are some colour you didnt expect, its because of IE.

Edit rostermaster.php

Find line 524(ish) and replace it with this

HTML Code:
        if($vbulletin->options['rostermaster_char_mapping'])  {
            $columns_array['username'] = "<td style=\"border-color:black;\">{$line['username']}</td>";
            $columns_array['type'] = "<td style=\"border-color:black;\">{$line['char_type']}</td>";
        }

        $columns_array['name']       = "<td style=\"border-color:black;text-align: center\"><a href=\"http://eq2players.station.sony.com/en/characters/character_profile.vm?characterId={$line['Char_id']}\"$target>{$line['Name']}$tmplastname</a></td>";
        $columns_array['rank']       = "<td style=\"border-color:black;border-right: none; width: " . $vbulletin->options['rostermaster_rankwidth'] . "px \">" . $imagerank . "</td><td style=\"border-color:black;border-left: none; text-align: left\">{$line['Rank']}</td>";
        $columns_array['advclass']   = "<td style=\"border-color:black;border-right: none; width: " . $vbulletin->options['rostermaster_advwidth']. "px \">" . $classimagename . "</td><td style=\"border-color:black;border-left: none; text-align: center\">{$line['Adv_Class']}$classlevelsep({$line['Adv_Level']})</td>";
        $columns_array['tradeclass'] = "<td style=\"border-color:black;border-right: none; width: " . $vbulletin->options['rostermaster_artisanwidth']. "px \">" . $artisanimagename . "</td><td style=\"border-color:black;border-left: none; text-align: center\">{$line['Art_Class']}$classlevelsep({$line['Art_Level']})</td>";
        $columns_array['status']     = "<td style=\"border-color:black;\" align=\"right\">$formattedstatus</td>";
        $columns_array['quests']     = "<td style=\"border-color:black;\" align=\"right\">$formattedquests</td>";
        $columns_array['joined']     = "<td style=\"border-color:black;text-align: center\">".vbdate($vbulletin->options['dateformat'], $line['Joined'], 1)."</td>";
replacing black in the style with whatever colour you want, either if its a default web colour, by using black, white, lightgrey, orange etc or by using a hexcode #338899 etc.

If you must have IE, maybe just use the borders="0" fix, its easier and looks much better
Reply With Quote
  #33  
Old 07-27-2007, 07:51 PM
pedigree pedigree is offline
 
Join Date: Jul 2005
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jargs View Post
uhh no files uploaded?
Oh, hmmm, weird, I attached it but Ive uploaded it again now.
Reply With Quote
  #34  
Old 08-03-2007, 03:00 PM
BlackxRam BlackxRam is offline
 
Join Date: Aug 2003
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since this is using vbulletin, is it possible to allow other users to create a roster page for themselves? Instead of just one standalone?
Reply With Quote
  #35  
Old 08-13-2007, 01:56 PM
pedigree pedigree is offline
 
Join Date: Jul 2005
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not with this, if they want to create their own roster (no idea what they would have in it), then youll need to use something else.
Reply With Quote
  #36  
Old 09-18-2007, 11:31 PM
Vindicare's Avatar
Vindicare Vindicare is offline
 
Join Date: Dec 2001
Location: Europe
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, but for some reason it totally ignores my $navbar (which is by default on top of pretty much every vB template and also on top of the rostermaster templates).

So the roster page is kinda cut off the rest of the forum...
Reply With Quote
  #37  
Old 09-19-2007, 12:01 PM
pedigree pedigree is offline
 
Join Date: Jul 2005
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, Ill look at the template code and see why its doing that.
Reply With Quote
  #38  
Old 09-19-2007, 01:16 PM
Vindicare's Avatar
Vindicare Vindicare is offline
 
Join Date: Dec 2001
Location: Europe
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if that helps, but I might add that after a fresh install with unpopulated DBs (as long as it says "No roster data has been found in the database") the $navbar works just fine.

But as soon as I run the cronjob to pull the data, the $navbar just disappears...
(The actual roster script works perfectly fine, though.)


[edit] Clicked on the link to the Trinitas board in this thread, and seems like they got the same issue - missing vB navbar on top.
Reply With Quote
  #39  
Old 11-10-2007, 08:22 AM
Alliya Alliya is offline
 
Join Date: Nov 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pedigree View Post
I suggest you read the documentation when you install something next time. Thats not an error, its a notification that you dont have any data imported. You need to run a scheduled task to import the database

4 - Run the Scheduled Task once to populate the database with your guilds information. The task will run once per hour afterwards.
(AdminCP -> Scheduled Task Manager -> RosterMasterUpdate -> Run Now)
Hey, I have the same problem, but I did all this and it still says empty.

Any ideas?

Great work btw :

Alli
Reply With Quote
  #40  
Old 11-10-2007, 03:15 PM
pedigree pedigree is offline
 
Join Date: Jul 2005
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you put a correct guild id in the admin section?

Ive just finished my current project but Ill get on this one over the weekend.

Whats the guild ID youre using? Ill use that for testing the code
Reply With Quote
  #41  
Old 11-10-2007, 06:05 PM
Alliya Alliya is offline
 
Join Date: Nov 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

http://eq2players.station.sony.com/g...uildId=2025303

Took this guild id and the name hmm

Gimme a shout when youre online
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:59 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05031 seconds
  • Memory Usage 2,312KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete