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

Reply
 
Thread Tools
vBulletin-Glossary Details »»
vBulletin-Glossary
Version: 2.0.6, by Vossi Vossi is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.1.4 Rating:
Released: 02-14-2011 Last Update: 06-16-2011 Installs: 127
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files Translations  
No support by the author.

What is vBulletin-Glossary:

A professional glossary with features like :
  • crosslinking
  • attachments in entries using vBullstin attachment system
  • searchable by using the vBulletin standard search
  • edit-history just like in wikipedia
  • synonyms to combine crosslinkings to other words
  • optional entryfields for more details of entry
  • vb-SEO compatible
  • etc.
Installation:

- Upload all files in 'upload' to your server

- set 777-permission for the following directories:
  • /vbglossar
  • /vbglossar/backup
  • /vbglossar/temp
- Import 'product-vbglossar.xml' in AdminCP as Add-On.

Right after the import of the productfile, go and set the usergroups. Afterwards edit the setting in AdminCP (Settings and Crosslinking). Now go to 'manage categories' and create the wanted cats.

Now the glossary should be configured and ready to use.

Updates from previous versions:

Follow the instruction of a new installation, also check the file permissions. After importing the product (overwrite: yes), check the grouprights and the settings of the glossary as there are some new features. In case the entries won't show up, please rebuild the datastore in the tools-section of the glossarin in admincp.

Template Modification:

Edit template 'search.css' and check for the following text
Quote:
/* as post */
Please include the following code above this:
Quote:
.threadinfo.glossaryentry a.threadstatus
{
background-image:url({vb:stylevar imgdir_searchresults}/search_results_glossaryentry.png);
background-position: 11px 6px;
}
General:

This addon has been developed by the follwing people (a-z): Andreas, Captainslater, G?rome, Surviver and me. We spent every free minute for this project (coding, translation, tests, etc). Also MrD and Ragtek have tested during the time when this addon got developed.

In directory '/tools' you might find a usefull Script by G?rome. User of vBCMS will find a module for their portal in directory 'vbcms' which shows a random entry of the glossary.

History:
  • 1.0.0 - First version
  • 1.0.0 PL 1 - Fixed Version by G?rome, users can't write unwnated entries anymore.
  • 1.0.1 - overwork of the code, now working with datastore and datamanager. Also we included some small new features into the addon (e. g. revert entries, inlinemod, etc).
  • 1.0.2 - overwork of the code, bugs removed, a lot of new features
  • 1.0.3 - fixed more small bugs and added new functions (create threads for discussions, more options for crosslinking, better options for mods/admins, etc).
  • 1.0.4 - bugfix-release.
  • 1.1.0 - added more main-features (synonyms can be used now, optional use of entryfields within categories, PDF-functions included, vB-SEO kompatible, TOC-list, etc)
  • 2.0.5 - Version for vBulletin 4.x with additional new features, bugs fixed.
  • 2.0.6 - Version for vBulletin 4.1.4 with small bug fixes.

Download Now

File Type: zip vbglossary205.zip (361.0 KB, 414 views)
File Type: zip vbglossary206.zip (486.7 KB, 829 views)

Screenshots

File Type: png 0-catview.png (28.7 KB, 0 views)
File Type: png 0-home.png (21.9 KB, 0 views)
File Type: jpg 1-entryview.jpg (112.7 KB, 0 views)
File Type: jpg 2-newentry.jpg (58.7 KB, 0 views)
File Type: png 3-threadpost.png (29.0 KB, 0 views)
File Type: png 4-admincp.png (4.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
babyv0x, career, fxdigi-cash, RichieBoy67, Ricsca, Trangalleiro

Comments
  #182  
Old 10-09-2011, 05:05 PM
byalik byalik is offline
 
Join Date: Oct 2006
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to post new words without creating a new category and adding it to that category? It makes it repetitive if you only have 1 category.
Reply With Quote
  #183  
Old 10-10-2011, 03:53 AM
alaska_av8r alaska_av8r is offline
 
Join Date: Dec 2009
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Vossi I tried v2.0.6 again with vb 4.1.7 and still get error also: If I click notifications and inbox this is what I get:

Fatal error: Access level to vB_Attachment_Store_vBGlossary_GlossaryEntry::fetc h_associated_contentinfo() must be protected (as in class vB_Attachment_Store) or weaker in /home/marin49/public_html/packages/vbglossary/attach/glossaryentry.php on line 368
Reply With Quote
Благодарность от:
bankcroft
  #184  
Old 10-15-2011, 02:11 PM
Seductor Seductor is offline
 
Join Date: May 2011
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vossi View Post
Can anybody re-construct the PM bug for me (with vB 4.1.6) ???
Hi there,

I'm using a blank vBulletin. I have not any other plugin installed and the error is showed when I try to access the PM folder.

Fatal error: Declaration of vB_Attachment_Store_vBGlossary_GlossaryEntry::veri fy_permissions() must be compatible with that of vB_Attachment_Store::verify_permissions() in /packages/vbglossary/attach/glossaryentry.php on line 363

This is verify_permissions() from the vB_Attachment_Store class:
PHP Code:
    abstract protected function verify_permissions($info = array());

    
/**
     * Verify permissions based on specified attachmentid
     *
     * @param int $attachmentid
     *
     * @return bool
     */
    
public function verify_permissions_attachmentid($attachmentid)
    {
        
$values $this->fetch_associated_contentinfo($attachmentid);
        return 
$this->verify_permissions($values);
    } 
This is yours:
PHP Code:
    /**
    * Verifies permissions to attach content to entries
    *
    * @return     boolean
    */
    
public function verify_permissions()
    {
        global 
$show;

        require_once(
DIR '/includes/functions_vbglossar.php');
        
        
$this->values['id'] = intval($this->values['id']) ? intval($this->values['id']) : intval($this->values['entryid']);

        if (
$this->values['id'])
        {
            
$this->entryinfo fetch_entryinfo($this->values['id']);
            
$this->contentid $this->values['id'];
            
$this->userinfo fetch_userinfo($this->entryinfo['userid']);
            
cache_permissions($this->userinfo);
        }
        else
        {
            if (
$userid intval($this->values['u']) AND $userinfo fetch_userinfo($userid))
            {
                
$this->userinfo $userinfo;
                
cache_permissions($this->userinfo);
            }
            else
            {
                
$this->userinfo $this->registry->userinfo;
            }
        }

        if (
            !(
$this->registry->userinfo['permissions']['groupvbglossar'] & $this->registry->bf_ugp_groupvbglossar['canentervbglossar'])
            OR
            !(
$this->registry->userinfo['permissions']['groupvbglossar'] & $this->registry->bf_ugp_groupvbglossar['canviewentry'])
            OR
            !(
$this->registry->userinfo['permissions']['groupvbglossar'] & $this->registry->bf_ugp_groupvbglossar['canattachtoentry'])
        )
        {
            
// no permission to view glossar, glossar entries or attachments
            
return false;
        }

        if (
            !(
$this->registry->userinfo['permissions']['groupvbglossar'] & $this->registry->bf_ugp_groupvbglossar['canadminvbglossar'])
            AND
            !
$this->entryinfo['status']
        )
        {
            
// no permission to moderate and entry is moderated
            
return false;
        }
        
        if (!
$this->entryinfo['groupshow'])
        {
            if (!
array_intersect(fetch_membergroupids_array($this->registry->userinfo), explode(','$this->attachmentinfo['groupshowlist'])))
            {
                
// usergroup is not allowed to access category
                
return -1;
            }
        }

        return 
true;
    } 
This is my debug info without Glossary enabled:
Quote:
Template Usage (20):
(1)USERCP_SHELL
(1)ad_footer_start
(1)ad_global_above_footer
(1)ad_global_below_navbar
(1)ad_global_header1
(1)ad_global_header2
(1)ad_navbar_below
(1)footer
(1)forumjump
(1)gobutton
(1)header
(1)headinclude
(1)headinclude_bottom
(1)navbar
(3)navbar_link
(1)option
(1)pm_messagelist
(1)spacer_close
(1)spacer_open
(3)usercp_nav_folderbit


Phrase Groups Available (7):
global
messaging
pm
postbit
posting
reputationlevel
user


Included Files (33):
./private.php
./global.php
./includes/class_bootstrap.php
./includes/init.php
./includes/class_core.php
./includes/config.php
./includes/functions.php
./includes/class_hook.php
./includes/functions_facebook.php
./includes/functions_user.php
./includes/functions_misc.php
./includes/class_bootstrap_framework.php
./vb/vb.php
./vb/phrase.php
./includes/class_friendly_url.php
./includes/functions_notice.php
./packages/vbattach/attach.php
./vb/collection/contenttype.php
./vb/collection.php
./vb/model.php
./vb/item/contenttype.php
./vb/item.php
./vb/types.php
./vb/cache.php
./vb/cache/db.php
./vb/cache/observer/db.php
./vb/cache/observer.php
./packages/vbforum/attach/album.php
./includes/functions_album.php
./packages/vbforum/attach/post.php
./includes/functions_forumlist.php
./packages/vbforum/attach/socialgroup.php
./includes/functions_socialgroup.php


Hooks Called (29):
init_startup
database_pre_fetch_array
database_post_fetch_array
fetch_userinfo_query
fetch_musername
fetch_userinfo
global_bootstrap_init_start
global_bootstrap_init_complete
cache_permissions
global_state_check
global_bootstrap_complete
global_start
style_fetch
global_setup_complete
forumjump
cache_templates
template_register_var
parse_templates
notices_check_start
friendlyurl_resolve_class
notifications_list
process_templates_complete
private_start
private_messagelist_start
usercp_nav_start
usercp_nav_complete
navbits
navbits_complete
private_complete
Reply With Quote
  #185  
Old 10-15-2011, 03:10 PM
Seductor Seductor is offline
 
Join Date: May 2011
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have made this fixes:

First of all, the original verify_permissions is this:

PHP Code:
abstract protected function verify_permissions($info = array()); 
So your verify_permissions should have the same arguments:

PHP Code:
    public function verify_permissions($info = array())
    {
        global 
$show;

        require_once(
DIR '/includes/functions_vbglossar.php');
        
        
$this->values['id'] = intval($this->values['id']) ? intval($this->values['id']) : intval($this->values['entryid']);

        if (
$this->values['id'])
        {
            
$this->entryinfo fetch_entryinfo($this->values['id']);
            
$this->contentid $this->values['id'];
            
$this->userinfo fetch_userinfo($this->entryinfo['userid']);
            
cache_permissions($this->userinfo);
        }
        else
        {
            if (
$userid intval($this->values['u']) AND $userinfo fetch_userinfo($userid))
            {
                
$this->userinfo $userinfo;
                
cache_permissions($this->userinfo);
            }
            else
            {
                
$this->userinfo $this->registry->userinfo;
            }
        }

        if (
            !(
$this->registry->userinfo['permissions']['groupvbglossar'] & $this->registry->bf_ugp_groupvbglossar['canentervbglossar'])
            OR
            !(
$this->registry->userinfo['permissions']['groupvbglossar'] & $this->registry->bf_ugp_groupvbglossar['canviewentry'])
            OR
            !(
$this->registry->userinfo['permissions']['groupvbglossar'] & $this->registry->bf_ugp_groupvbglossar['canattachtoentry'])
        )
        {
            
// no permission to view glossar, glossar entries or attachments
            
return false;
        }

        if (
            !(
$this->registry->userinfo['permissions']['groupvbglossar'] & $this->registry->bf_ugp_groupvbglossar['canadminvbglossar'])
            AND
            !
$this->entryinfo['status']
        )
        {
            
// no permission to moderate and entry is moderated
            
return false;
        }
        
        if (!
$this->entryinfo['groupshow'])
        {
            if (!
array_intersect(fetch_membergroupids_array($this->registry->userinfo), explode(','$this->attachmentinfo['groupshowlist'])))
            {
                
// usergroup is not allowed to access category
                
return -1;
            }
        }

        return 
true;
    } 

Now, all abstracts methods from the original class must have defined in your file. You need to define fetch_associated_contentinfo in your file:
PHP Code:
    protected function fetch_associated_contentinfo($attachmentid){
        return;
    } 

I have uploaded the new glossaryentry.php .

I don't see the Fatal error and I can browse my PMs. I think my fix is better than byalik's due to I'm not editing the attach.php original file.
Attached Files
File Type: php glossaryentry.php (15.8 KB, 77 views)
Reply With Quote
3 благодарности(ей) от:
alaska_av8r, blueperspective, dadoc
  #186  
Old 10-15-2011, 08:37 PM
byalik byalik is offline
 
Join Date: Oct 2006
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know how to get the keywords and description on each page to match the content on the page. Right now it is all the same as on homepage of forum
Reply With Quote
  #187  
Old 10-16-2011, 01:02 PM
toxin toxin is offline
 
Join Date: Sep 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've uploaded the new file, and everything is working now
Reply With Quote
  #188  
Old 10-17-2011, 03:13 AM
alaska_av8r alaska_av8r is offline
 
Join Date: Dec 2009
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seductor that seems to have fixed the problem
Reply With Quote
  #189  
Old 10-17-2011, 04:27 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New file works great.

Vossi can I use this addon? If I can where do I upload it to?

http://overlib.boughner.us/plugins/bubble_commands.html
Reply With Quote
  #190  
Old 10-17-2011, 07:42 PM
Seductor Seductor is offline
 
Join Date: May 2011
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scalemotorcars View Post
New file works great.

Vossi can I use this addon? If I can where do I upload it to?

http://overlib.boughner.us/plugins/bubble_commands.html

Hi guys. I'm glad to hear that it works.

I could try to add this in my spare time. I'm not a mod developer, but It doesn't seem too hard to implement.
Reply With Quote
  #191  
Old 10-18-2011, 04:44 AM
Vossi Vossi is offline
 
Join Date: Mar 2005
Location: Germany
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ovberlib is already used in the AddOn, all you need is to add the additional features under:

/admincp -> vbulletin-glossary -> crosslinking -> userdefined settings.

There you can change the look-like of the popup or bubble. Actually that's what i understood you wanted to do.

The only thing which is needed to get changed is to add
PHP Code:
<script type="text/javascript" src="overlib_bubble.js"
in the headinclude-template of the glossary and upload the .js-file to ftp. That#s about it.
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 09:54 PM.


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.05406 seconds
  • Memory Usage 2,444KB
  • Queries Executed 28 (?)
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
  • (6)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (10)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete