vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=119041)

Slave 11-01-2006 05:09 AM

Quote:

Originally Posted by AndrewD
2.2.7 - sorry, I'm too close to finishing this release to make major changes to the code.

That's cool, I wouldn't of expected large changes until 2.2.7 :)

Slave 11-01-2006 09:24 AM

Quote:

Originally Posted by Slave
Ahh .. yes I did have both of those unticked :)

Thanks :D

Ok .. after ticking the right box I then entered a test link with my test user. I have a bug :)

If a link is still waiting to be moderated, the user who submitted it can see it and the admin can see it. If another normal user looks they can't see it, but the category the moderated link is in changes to bold, with a new link date of the date of the submitted link.

Shouldn't this only happen once the link has been accepted?

Oh, and a suggestion ..

When deleting a moderated link could we please have a place to enter a reason for the deletion of the link, which could then be added to the email that's sent out to the member who added the link. I've not seen the rejection mail, but I'd like to be able to put something in there per link as to the reason it wasn't suitable.

AndrewD 11-01-2006 09:30 AM

Quote:

Originally Posted by Slave
Ok .. after ticking the right box I then entered a test link with my test user. I have a bug :)

If a link is still waiting to be moderated, the user who submitted it can see it and the admin can see it. If another normal user looks they can't see it, but the category the moderated link is in changes to bold, with a new link date of the date of the submitted link.

Shouldn't this only happen once the link has been accepted?

Correct, it should... :tired:

But...

Correcting this opens up a real hornets' nest, as determining the most recent and the number of entries in a category depends on who's asking. This is fine when listing the detailed contents of the category - in this situation, one can pull all the correct items from the database. However, for the summary information (total entries, new entry in category), the code is optimised to avoid having to check everything. All the options seem unpleasant, so this is not a bug I am going to fix too quickly.

Slave 11-02-2006 05:07 AM

Quote:

Originally Posted by AndrewD
Correct, it should... :tired:

But...

Correcting this opens up a real hornets' nest, as determining the most recent and the number of entries in a category depends on who's asking. This is fine when listing the detailed contents of the category - in this situation, one can pull all the correct items from the database. However, for the summary information (total entries, new entry in category), the code is optimised to avoid having to check everything. All the options seem unpleasant, so this is not a bug I am going to fix too quickly.

Ok :)

I suppose the way around it would be to put moderated entries into a separate area until they are ok'ed?

Whatever though, if it's a big job then don't worry about it, as it's something little really :)

|oR|Greg 11-02-2006 02:52 PM

Instead of Wimpy player, I substituted the flvplayer, but I don't know what settings to change in the wimpy.js file. Can we get a little help on this one?

|oR|Greg 11-03-2006 04:13 PM

Never mind I figured it out.

AndrewD 11-03-2006 04:18 PM

Quote:

Originally Posted by |oR|Greg
Never mind I figured it out.

Can you post how - it will save me having to work it out :)

|oR|Greg 11-03-2006 05:58 PM

Quote:

Originally Posted by AndrewD
Can you post how - it will save me having to work it out :)

Maybe, we'll see... I can't figure out why, but with the wimpy plugin installed that you specified in the extras, I hacked it up to work for the FLV player instead, the problem is that there is no where to specify what extentions for that player ONLY... if I want to use the jukebox now, I can only specify FLV files, and have to deny the rest. I don't know why, the IF statement about $player=="wimpy" is still intact along with all the others.... I can make you an admin on my site to see if you can correct that problem, then we can publish the code together honey bear.

It must have to do with the fact that the plugin changes ALL $player variables to "wimpy" and there is no specific section for FLV files to use the FLV player. Only Windows Media Player, QuickTime, DivX, and RealPlayer. How do I add a section to say that if extension = X, then $player = "flvplayer" ?

AndrewD 11-03-2006 06:43 PM

Quote:

Originally Posted by |oR|Greg
Maybe, we'll see... I can't figure out why, but with the wimpy plugin installed that you specified in the extras, I hacked it up to work for the FLV player instead, the problem is that there is no where to specify what extentions for that player ONLY... if I want to use the jukebox now, I can only specify FLV files, and have to deny the rest. I don't know why, the IF statement about $player=="wimpy" is still intact along with all the others.... I can make you an admin on my site to see if you can correct that problem, then we can publish the code together honey bear.

It must have to do with the fact that the plugin changes ALL $player variables to "wimpy" and there is no specific section for FLV files to use the FLV player. Only Windows Media Player, QuickTime, DivX, and RealPlayer. How do I add a section to say that if extension = X, then $player = "flvplayer" ?

That's right - Wimpy plays most things and this was a quick plugin to demonstrate how to use it. Bear with me...

|oR|Greg 11-03-2006 07:21 PM

Bear? Honey?


All times are GMT. The time now is 04:44 AM.

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.02106 seconds
  • Memory Usage 1,746KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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