vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Mindestic GlosPro 1.2.2 (https://vborg.vbsupport.ru/showthread.php?t=132632)

EvilHawk 12-03-2006 11:55 AM

Quote:

Originally Posted by SS9267547 (Post 1128345)
StarBuG: Hmm bugs, bugs, love them.

Οh then here are some i encountered ;)

The moderator CP menu doesn't appear, the if condition at the plugin contains a usergroup permission that doesn't exist.
The mod_glossary.php is very buggy, i had to copy the admin_glossary and remove the extra options to make it workable.
When you moderate a new term you get redirected to the default option (list) even if there are more terms for moderation.
The crosslinking should exclude the tooltip phrase from regexp ...

Keep up the good work!
Looking forward the next update ... ;)

serhat_kk 12-03-2006 12:44 PM

Thanks for your help SS9267547(Lucas). ;)

MrPHD 12-03-2006 12:59 PM

Working Nice. Installed. thanks

SS9267547 12-03-2006 01:02 PM

dilbert: Yes noted, thanks. I'm trying to work on that area right now I can add description to it however I'm running into ptoblem with striping the code so it just shows text.

StarBuG: Well I havn't come across the problem at all. Not sure why the menus would go since this hack dosn't use the same javascript code as vb. I'll keep an eye on it and we'll see if anyone else has this problem.

EvilHawk: Yeah the moderator section will need more work as it hasn't really been worked on to much. Yet another thing I'll have to look in to. :/

serhat_kk: Your welcome!

MrPHD: Your welcome!

revolver 12-03-2006 01:39 PM

question for the guys who have installed this hack already. Do you advise to download current version, and get building on the glossary now, or to wait for the next release which seems to have a lot of fixes/features scheduled.

SS9267547 Good work. I install very few hacks, usually big ones. This is one of the most useful and comprehensive I have seen. Keep up the good work, I believe once the latest niggles are fixed this will be topshelf!

Any ideas on when the next version will be ready? week? month?

SS9267547 12-03-2006 02:00 PM

Thanks. Well if any updates, the glossary iteself should be just fine, most problems have to do with the crosslinking. If you want to wait for the next version I will be releasing the next update Monday with a few fixes plus a few extras here and there lol.

yesfans 12-03-2006 04:31 PM

looks good, waiting for update/next version!

bada_bing 12-04-2006 02:19 AM

SS9267547

Wanted to say thank you for helping me get this working again.. Cant wait to see what your update version has...

Thanks...

Amenadiel 12-04-2006 09:05 PM

Quote:

Originally Posted by ssvp (Post 1127254)
Real quick..Cross-linking not working, and the glossary isn't displaying the Alphabet sort..

Quote:

Originally Posted by SS9267547 (Post 1127840)
ssvp: As long as you havn't missed a step in the install it should work. However in the settings you have to first active it, two options at the very bottom where you can have it on in the glossary only or the forums as well. The alphabet sort will only show once you choose a directory. Try the typing in the following: http://www.yoursiteaddress.com/dirto...stglossary&c=1

I had the same problem and I happened because the "add to navbar" option pointed to glossary.php without any arguments.

I manually edited the template pointing it to glossary.php?do=listglossary&c=1 and now it works fine.

SS9267547 12-04-2006 09:52 PM

yesfans/bada bing: Yeah I want to release the update today however I have to many problems before the release so it will need to wait until next Monday unless I figure the problems out quicker lol.

Amenadiel: Yes you can do that but doing what you did it will not list any other directory’s you may have, unless you plan to have one then there will be no problem lol. The main listings on the glossary.php only shows the directory’s and not the terms themselves, just so you know, not a problem with the script.

bada_bing 12-06-2006 06:04 PM

Can some tell me how I can only allow certain groups to turn on/off the glassary from the usercp? Currently all usergroups have this option, I want to only allow certain groups to have this option in usercp, any help with this please?

SS9267547 12-06-2006 10:23 PM

To allow certain groups to be able to view this find the following code in the 'modifyoptions' template:

PHP Code:

<!-- Start Glossary User Options -->
<if 
condition="$vboptions['vbglossaryactive']"

Replace it with:
PHP Code:

<!-- Start Glossary User Options -->
<if 
condition="$vbulletin->userinfo['usergroupid'] == '2'">
<if 
condition="$vboptions['vbglossaryactive']"

The find the following:
PHP Code:

</if>
<!-- 
End Glossary User Options -->
<
br /> 

Replace it with:
PHP Code:

</if>
<!-- 
End Glossary User Options -->
<
br />
</if> 

Now replace '2' with whatever usergroup number you want to be able to view it.

Amenadiel 12-07-2006 03:35 AM

Is there a way to turn letterbit on for every page of the glossary?

I mean, when I'm looking at a certain definition I'd really like to have the letterbit above it.

SS9267547 12-07-2006 04:33 AM

There is no settings for that but it can be done by editing the templates as well the main glossary.php file, so it depends on howw badly you want it lol.

Amenadiel 12-07-2006 10:08 AM

Well I'm getting to know the code, I've already modified the code to make glossary.php without args to act as if it had received a do=listglossary&c=1 by editing the "default action":

if (empty($_REQUEST['do']))
{
$_REQUEST['do'] = 'listglossary';
$_REQUEST['c'] = '1';
}

Then I also inserted a "show all" link at the beggining of the letterbit, but it was a minor edit, I just added:

eval('$letterbits = "<td><a href=glossary.php>Show all</a></td>";');

before the other evals.

But this one I cannot accomplish. I edited the main Glossary template and in the section where the letterbit table is displayed I removed the "if" so it should display letterbit no matter what, and yet it doesn't happen.

I hope you don't mind I'm performing this little customization, I believe it's impossible to make a product to suit each and every webmaster out there LMAO.

EDIT: I did it! I hadn't noticed that in glossary.php the letterbit eval part is inside an if statement restricting it to show only if do = listglossary, so I took that whole part outside the 'if'. I had to set c = 1 because it is initially = 0 and takes me to a blank page.

SS9267547 12-07-2006 11:34 AM

No thats fine Amenadiel. I'm more then happy to see customization and happy to see people share what they did in the thread, who knows might add additional options for whatever has been added.

dilbert 12-07-2006 03:00 PM

Here's an interesting item I just noticed with cross linking.
If I have the word Telephone in the glossary, and a user places the work telephone in a post, the post becomes capitalized.

Is there a way to allow the post to remain as is?

bada_bing 12-07-2006 05:08 PM

Quote:

Originally Posted by SS9267547 (Post 1133526)
To allow certain groups to be able to view this find the following code in the 'modifyoptions' template:

PHP Code:

<!-- Start Glossary User Options -->
<if 
condition="$vboptions['vbglossaryactive']"

Replace it with:
PHP Code:

<!-- Start Glossary User Options -->
<if 
condition="$vbulletin->userinfo['usergroupid'] == '2'">
<if 
condition="$vboptions['vbglossaryactive']"

The find the following:
PHP Code:

</if>
<!-- 
End Glossary User Options -->
<
br /> 

Replace it with:
PHP Code:

</if>
<!-- 
End Glossary User Options -->
<
br />
</if> 

Now replace '2' with whatever usergroup number you want to be able to view it.

Thanks for the code... I want to be able to allow more then one usergroup to view this though and when I do this it doesnt show up for any usergroup

HTML Code:

<!-- Start Glossary User Options -->
<if condition="$vbulletin->userinfo['usergroupid'] == '5,6,7,11,12,16'">
<if condition="$vboptions['vbglossaryactive']">



An I doing something wrong?

SS9267547 12-07-2006 11:08 PM

dilbert: No I havn't figured a way with that. If someone does they can let me know lol.

bada_bing: Instead of this:
PHP Code:

<if condition="$vbulletin->userinfo['usergroupid'] == '5,6,7,11,12,16'"

Use this option, think it works lol:
PHP Code:

<if condition="$vbulletin->userinfo['usergroupid'] == '5' OR $vbulletin->userinfo['usergroupid'] == '6' OR $vbulletin->userinfo['usergroupid'] == '7'"


bada_bing 12-08-2006 12:38 AM

Quote:

Originally Posted by SS9267547 (Post 1134160)
dilbert: No I havn't figured a way with that. If someone does they can let me know lol.

bada_bing: Instead of this:
PHP Code:

<if condition="$vbulletin->userinfo['usergroupid'] == '5,6,7,11,12,16'"

Use this option, think it works lol:
PHP Code:

<if condition="$vbulletin->userinfo['usergroupid'] == '5' OR $vbulletin->userinfo['usergroupid'] == '6' OR $vbulletin->userinfo['usergroupid'] == '7'"


Awe this worked thank you... Now one more question.. What happens if in the past few days that the option was showing up in the usercp a member disabled the crosslinking and now I have removed that usergroup from seeing the crosslinking option in the usercp what would happen? Does the feature remain on or off?

bada_bing 12-08-2006 12:48 AM

Quote:

Originally Posted by taxick (Post 1128643)
Hey.. Nice Hack :)

But you hack make wrong options ind user admin:

http://img81.imageshack.us/img81/6623/1ep9.jpg

I have look i my database, and i can see its you hack that make this options..

Can you fix this! PLZ

SS9267547,

I just noticed this too because I have members asking me what his option is used for? Does this do anything? Any updated to when this might be fixed...
This option seems to be an option to choose when a new member registers.

Thanks man.

SS9267547 12-08-2006 01:27 AM

The defult is on, however if they disabled the option in the control panel before you removed the option it would remain off. Now, lol, the options with the title of 'myheading' is the same as the user side option just in the admin control panel, so from there you can turn it back on if say your user is unable to trun it back on beucase they don't have that option anymore. Just so you know there should be only one option, something I was messing around with and forgot to finish it, ha. Will be fixed in the nexxt update, if I ever figure out my problems lol. With the option being an option to choose when a new member registers, I'm not sure why it is since I don't see that myself, I'm missing something here.

StarBuG 12-10-2006 02:23 PM

Do you have any idea when the next update comes?

And what is currently your problem?

SS9267547 12-11-2006 02:17 AM

Ah, it depends. I can't figure out what I'm doing wrong with the crosslinking in the way of adding descriptions. I've been asking for help here: https://vborg.vbsupport.ru/showthread.php?t=133243 as well in the private coders thread but I got no replies. So development is on a stand still on that front. Might need to rework the way the crosslinking displays. I really wanted to finish with that feature before releasing the next update but if I do that it will be another 6 months lol it looks like. I'm going to give it another week and if I get no help on that issue I'll release an update then. In the mean time I decided to start on the custom field feature.

RS_Jelle 12-12-2006 12:37 PM

I've posted a reply in your thread, I hope it helps you with the problem :)

A small request: change the name of the input field for the search from 'search' to 'query' like vBulletin is using for its forum search. Users aren't seeing this, but it's easy if you want to create a "master search" on your site for all your site sections :cool:

A small spelling mistake in glossary.php: "Reqired" :p
A suggestion for a next release: custom admin permissions. They are great to manage the rights on a big site with a lot of staff people.

SS9267547 12-13-2006 03:41 AM

Thanks for the post. Still trying to fix the issue at hand. As for the 2 requests I will think it over but it will depend if I feel in the mood to add it, at least for this upcoming update lol. As for the spelling, fixed! heh ;)

StarBuG 12-18-2006 03:44 PM

Hello

How is your progress. Do you got the problem solved?

SS9267547 12-19-2006 12:12 AM

Not with the crosslinking, the update will not have any updates on crosslinking. Right now I'm working on the custom field options, which is almost complete, just finishing of testing and adding some last min features to it. Once complete the update will be released. I'd say in time for christmas lol. ;)

Bison 12-22-2006 01:26 AM

I'm making this post so that I ca be notified when you have updated your hack. This would make my site very usefull from a technical perspective.

SS9267547 12-22-2006 02:16 PM

What do you mean by technical perspective? Anyway you guys won't have to wait to long, the next updates on track for christmas. ;)

StarBuG 12-22-2006 04:13 PM

And did the crosslinking fix that I sent you work?

Because that would be one of the most important features of this hack
(at least for me ;))

Thank you for all your work.

SS9267547 12-22-2006 04:27 PM

Your welcome. I don't think I'll have time to finish work for the crosslinking feature before the release. I'll test the code before the release tho. Trying to finish the custom feilds, all thats left is the user side of things, got to work on one thing at a time so I don't get mixed up lol. :confused:

Bison 12-22-2006 06:06 PM

Quote:

Originally Posted by SS9267547 (Post 1143454)
What do you mean by technical perspective? Anyway you guys won't have to wait to long, the next updates on track for christmas. ;)

Well, if I must ... I run a technical forum and some of terms used might sound greek to new users. This hack would benefit those who are interested but don't have a grip of the acromyms used in my field.

I was waiting for this hack to come out of beta. From what you're saying, I assume that will take place soon. :)

RS_Jelle 12-24-2006 06:36 PM

A small bug: the print_cp_footer() function is missing on most of the AdminCP pages, so there's no footer (and no </body> and </html> tags to close the page). It should be there at the end of all the admin (and mod) pages :)

It would be nice also to move the "add glossary term" button to a single button and remove it from every drop down menu. This is requested frequently, so it would please other people also

A small bug: the glossary_mod_code_is_x phrase is missing (glossary rules).
A normal bug: if there's an inactive term in your search results, the delete phrase isn't working in the dropdown menu of it.

Also some small W3C errors:
- </br> in some templates and functions_glossary.php, should be <br /> (self closing tags in XHTML)
- onMouseover and onMouseout should become onmouseover and onmouseout in functions_glossary.php (all lowercase because of XHTML)
- Two &'s need to be replaced by &amp; in functions_glossary.php (HTML entities)

Replace in the glossary_rules template
HTML Code:

<td class="alt1" nowrap="nowrap"><div class="smallfont">
<div><phrase 1="$modcodeon">$vbphrase[glossary_mod_code_is_x]</phrase></div>
<div><phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase></div>
<div><phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase></div>
<div><phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase></div>
<div><phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase></div>
</td>

by (</div> was missing)
HTML Code:

<td class="alt1" nowrap="nowrap"><div class="smallfont">
<div><phrase 1="$modcodeon">$vbphrase[glossary_mod_code_is_x]</phrase></div>
<div><phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase></div>
<div><phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase></div>
<div><phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase></div>
<div><phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase></div>
</div></td>

Replace in cpnav_vbglossary.xml
Code:

<link>options.php?do=options&amp;dogroup=vbglossary</link>
by
Code:

<link><![CDATA[options.php?do=options&amp;dogroup=vbglossary]]></link>

dilbert 12-25-2006 11:35 PM

Small thing.
I have some terms in my glossary that are more than one word.
For instance:
Agreement
Agreement Review
The cross linking only picks up Agreement, even when the text contains Agreement Review.

Maybe a future release can fix this?

Allan 01-01-2007 07:54 PM

1 Attachment(s)
Thanks for this hack :)

File Attach, French Language :)
Translator: Sofia

bada_bing 01-03-2007 11:38 AM

Quote:

Originally Posted by SS9267547 (Post 1143454)
What do you mean by technical perspective? Anyway you guys won't have to wait to long, the next updates on track for christmas. ;)

Well any updates? Christmas is here and past?

aquariumpros 01-03-2007 01:26 PM

I too am waiting anxiously for this update!!

Definitely need the Crosslinking feature ~ as this is 99% of the reason I need this hack!

Thanks again for all the work!

bplinson 01-03-2007 02:27 PM

Sound like a great program once it is fixed.

SS9267547 01-03-2007 02:54 PM

RS_Jelle: Thanks for the information, will look into this, and keep that up ;)

dilbert: Yeah yet another problem I'm having with the crosslinking feature. I will look into this issue at a later time.

Allan: Thanks for the french translation. Just so those looking for a german translation there one has been completed by captainslater at the following link: http://www.vbhacks-germany.org/showthread.php?t=6884

bada_bing: Yeah figures that I want to release something I get problems with the custom fields feature I'm working on, one of the reasons the update has not been released. As well hard as hell to find a free min to work on it during this time of year with visiting family and what not lol. Anyway I have started back into this yesterday but I'm not going to give a release date since the way things have been working out this past few weeks.


All times are GMT. The time now is 01:34 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.01442 seconds
  • Memory Usage 1,874KB
  • 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
  • (3)bbcode_html_printable
  • (12)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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