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)
-   -   Show Thread Enhancements - [5/9/2011] MARCO1 Hide All with Usergroups permission - Messages Manager (https://vborg.vbsupport.ru/showthread.php?t=228228)

seiki73 01-20-2010 06:29 PM

Quote:

Originally Posted by MARCO1 (Post 1916500)
Hiding attachments for guests you can change the usergroup permission and choose no on attachments permission


...

I have installed this and seems to work..... but I dont understand why does vbulletin allows to restrict access in group permission?? that does not work.. either the recommendatio done at the top of this message.... huh?

I also need to restrict access to any kind of code, inline images and attachments to visitors... why should I restrict members?

any idea on how to make it work this way... inline images are still shown to visitors

MarioRe 01-20-2010 07:37 PM

Whoa haa this sounds like mod of the year.

I haven't installed this yet but I got a couple questions.

1-Can any member hide there link when they create a thread?

2-This sounds like a hide hack if not what is the difference.

Marco thx If I use and it is what I think it is I will need an e-mail adress to donate to you.

Does anyone have this working properly on there sit if so can you please give me a link so I can see how it works.

MARCO1 01-21-2010 04:48 PM

Quote:

Originally Posted by seiki73 (Post 1961461)
I have installed this and seems to work..... but I dont understand why does vbulletin allows to restrict access in group permission?? that does not work.. either the recommendatio done at the top of this message.... huh?

I also need to restrict access to any kind of code, inline images and attachments to visitors... why should I restrict members?

any idea on how to make it work this way... inline images are still shown to visitors

Hmm, I'm not completely understand your question, ca you explain more ?

MARCO1 01-21-2010 04:51 PM

Quote:

Originally Posted by MarioRe (Post 1961537)
Whoa haa this sounds like mod of the year.

I haven't installed this yet but I got a couple questions.

1-Can any member hide there link when they create a thread?

2-This sounds like a hide hack if not what is the difference.

Marco thx If I use and it is what I think it is I will need an e-mail adress to donate to you.

Does anyone have this working properly on there sit if so can you please give me a link so I can see how it works.

No, The links will hide if they want or not but sure the admin and moderators and the thread author can see links.

Spika 01-21-2010 07:34 PM

Quote:

Originally Posted by lolo? (Post 1916401)
hello i try this but dosent work if you have a prefix for the db
use this if you have a prefix


You have to put the prefix in the name of the tables required
Open Product - MARCO1 Hide All Final.xml whit a text editor and search:

In word in red add the prefix (for ex.: if you use vb as prefix put vbpost

In line 25 search:
Code:

$p=$db->query_first("SELECT userid from post where threadid='$post[threadid]'  AND userid=" . $vbulletin->userinfo[userid] . "");

In line 45 search:
Code:

$p=$db->query_first("SELECT userid from post where threadid='$post[threadid]'  AND userid=" . $vbulletin->userinfo[userid] . "");
In line 55 search:
Code:

$p=$db->query_first("SELECT userid from post where threadid='$post[threadid]'  AND userid=" . $vbulletin->userinfo[userid] . "");
After reinstall the product

Extra PC 01-22-2010 04:06 PM

منتظرين الاصدار الجديد

أتمنى لا تنسى منع الروابط الموجودة ضمن Codeاو Quote

كذلك لو تخلي خيار لمنع الصور عن الزوار مثلا سواء تلك التي بكود Img أو تلك الصور التي بكود Img و Url

Miguel86 01-22-2010 04:31 PM

Quote:

Originally Posted by Spika (Post 1962683)
You have to put the prefix in the name of the tables required
Open Product - MARCO1 Hide All Final.xml whit a text editor and search:

In word in red add the prefix (for ex.: if you use vb as prefix put vbpost

In line 25 search:
Code:

$p=$db->query_first("SELECT userid from post where threadid='$post[threadid]'  AND userid=" . $vbulletin->userinfo[userid] . "");

In line 45 search:
Code:

$p=$db->query_first("SELECT userid from post where threadid='$post[threadid]'  AND userid=" . $vbulletin->userinfo[userid] . "");
In line 55 search:
Code:

$p=$db->query_first("SELECT userid from post where threadid='$post[threadid]'  AND userid=" . $vbulletin->userinfo[userid] . "");
After reinstall the product

I have done this and now works, dont fail when entering to posts but dont hide links to guests and i have enabled to hide links to them.

pozo 01-22-2010 09:37 PM

Waiting for the possibility to hide [code] or other BBCodes like [spoiler] :(

Gnoll 01-23-2010 06:04 PM

Nice :) Thanks for hack

@Spika thank you for solving my problem too

MARCO1 01-23-2010 06:45 PM

Thanks Guys, I will update the Mod with all of your suggests ASAP.


All times are GMT. The time now is 07:43 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.02913 seconds
  • Memory Usage 1,747KB
  • 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
  • (6)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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