vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - [DBTech] Staff Only Hidden Posts v1 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=276557)

DragonByte Tech 04-06-2012 06:08 PM

Ok I will look into these as soon as I can, I am a little bit tied up at the moment, but I should be able to look into it this weekend.

Chris

Alan_SP 04-06-2012 06:49 PM

Just found out that it doesn't work with doublepost prevention mod from Paul. I know you use it too on your site.

This is just to inform you, probably you wouldn't be able to fix this...

Alan_SP 04-06-2012 07:28 PM

And I just discovered from where dot is when I checked navbar template. It's my fault, it's in the phrase welcome_x_link_y, I just didn't noticed it before. :( Sorry, my mistake completely.

Also, one thing I noticed, if we disable notification of new hidden posts in header, the link isn't available anywhere. Could you provide alternative link and also, if you maybe create notification that will be used with vBNotifications?

EDIT: Now I'm using this location for hidden posts:

http://img696.imageshack.us/img696/858/image006xc.png

It's in Croatian, but I think it's obvious enough where it is. To achieve this you need to edit file: \dbtech\staffonlyhiddenposts\hooks\parse_templates .php

Find this code:

PHP Code:

$vbphrase['welcome_x_link_y'] .= "<a href=\"sohp.php?do=viewposts&type=moderated\">" $phrase_link "</a>"

You just need to use different phrase where the link will be added. I used phrase new_posts_nav so code should look like this:

PHP Code:

$vbphrase['new_posts_nav'] .= "<a href=\"sohp.php?do=viewposts&type=moderated\">" $phrase_link "</a>"

Effect is shown on picture. Of course, you could choose some other phrase you like to have this added. And I think you could add it to more than one phrase, if I'm not mistaken.

DragonByte Tech 04-06-2012 09:35 PM

Yeah it does conflict with Paul's mod, and I suspect it would do the same thing with regular moderated posts, as this mod uses vBulletins Moderation feature to hide the posts.

Glad to hear the dot is sorted out, one less thing for me to look for.

I will also look into alternative ways to display the notification link, as far as working with vBNotifications I think that has to be done from within that mod.

Chris

Alan_SP 04-06-2012 09:42 PM

Thanks, now only thing if you could do is that moderators see only hidden posts they could actually see.

And of course, some things I asked on DBTech forum... :)

DragonByte Tech 04-09-2012 03:00 AM

Alan SP I have not forgot about you, I am just tied up with my new mod, I will get to it as soon as I can.

Chris

Alan_SP 04-09-2012 11:49 AM

No problem, I understand. If and when you can, I'm sure you'll do everything you can. :up:

Tripolis 05-20-2012 07:53 AM

I want to uninstall it:

Quote:

uninstall.php not found in directory
Missing a file.

DragonByte Tech 05-20-2012 11:40 AM

Quote:

Originally Posted by Tripolis (Post 2330898)
I want to uninstall it:



Missing a file.

Sorted, please re download the product, upload the new files, and then you should be able to uninstall it.

Chris

Alan_SP 05-20-2012 05:44 PM

I see that this version has a lot changes in files (different file sizes). I usually download from DBTech site, as it has latest fixes. What's new in this version here and latest version od DBTech? I downloaded files 16.4.2012.


All times are GMT. The time now is 11:57 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.01150 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (2)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
  • (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