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 - MARCO1 Hide Thread Content - With excluding forum to hide content (https://vborg.vbsupport.ru/showthread.php?t=230218)

MARCO1 12-13-2009 10:00 PM

MARCO1 Hide Thread Content - With excluding forum to hide content
 
1 Attachment(s)

MARCO1 Hide Thread Content
With excluding forum to hide content


Description :
This Mod is coded as daPLAYBOY request in this post :
https://vborg.vbsupport.ru/showpost....1&postcount=83
This Mod hide thread content from guests

Features :
Hide thread content from guests
Excluding any forum to hide thread content
You can customize the hide message from vBulletin Admincp

Install :
Import the product from admincp
upload the images folder to your vBulletin dir

Screen Shots & Download :
In Attachments

Kolbi 12-14-2009 09:24 PM

Thank you!

Kolbi 12-14-2009 09:26 PM

Can you create a mod to hide certain bbcodes which I can define?

MARCO1 12-14-2009 09:29 PM

Quote:

Originally Posted by Kolbi (Post 1930784)
Can you create a mod to hide certain bbcodes which I can define?

Sure I can, but can you give me some more info ?

LordDB 12-14-2009 09:35 PM

this is just excellent dear friend...well done, and thanks! :)

Now nominated for MOTM.

elwachiman 12-14-2009 09:55 PM

excelente intalled tnk marco

Vaupell 12-14-2009 10:01 PM

Downloaded / tagged / installed and uninstalled.

when trying to make some of my forum sections viewable to the public it promts sql error.
so gonna try either a later vb version, or a later version of this..

but rated 5 stars cause this is great, ewen though i cant use it :D

Code:

Database error in vBulletin 4.0.0 Release Candidate 2:

Invalid SQL:
UPDATE forum SET
title_clean = 'Main Forum',
title = 'Main Forum',
description_clean = 'General forum, for general chit chat.',
description = 'General forum, for general chit chat.',
link = '',
displayorder = 1,
parentid = 1,
daysprune = -1,
defaultsortfield = 'lastpost',
defaultsortorder = 'desc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options - 16, options),
options = IF(options & 32, options - 32, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options - 8192, options),
options = IF(options & 4, options, options + 4),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 16384, options, options + 16384),
options = IF(options & 256, options - 256, options),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
options = IF(options & 512, options, options + 512),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
options = IF(options & 131072, options - 131072, options),
styleid = 0,
imageprefix = '',
password = '',
MARCO1_forumnocontent = '1'
WHERE forumid = 2;

MySQL Error  : Unknown column 'MARCO1_forumnocontent' in 'field list'
Error Number  : 1054
Request Date  : Tuesday, December 15th 2009 @ 12:58:59 AM

looks like it didnt create the colum "MARCO1_forumnocentent" dureing install..

saihat 12-14-2009 11:18 PM

Thank you!
شكرا لك

Dr.osamA 12-15-2009 04:40 AM

Great job well

installed & nominated

taged

???? ????? ??? ?????

??????
________
Plymouth voyager 3 specifications

gil 12-15-2009 05:59 AM

Quote:

Originally Posted by MARCO1 (Post 1930786)
Sure I can, but can you give me some more info ?

Good morning
yes as for instance bbcode encode

click to extend image

admin_visu
http://www.gil-simages.com/images/ut...-admi_visu.jpg

members_visu
http://www.gil-simages.com/images/ut...ember_visu.jpg

Thank you

MARCO1 12-15-2009 09:30 AM

Quote:

Originally Posted by Vaupell (Post 1930806)
Downloaded / tagged / installed and uninstalled.

when trying to make some of my forum sections viewable to the public it promts sql error.
so gonna try either a later vb version, or a later version of this..

but rated 5 stars cause this is great, ewen though i cant use it :D

Code:

Database error in vBulletin 4.0.0 Release Candidate 2:

Invalid SQL:
UPDATE forum SET
title_clean = 'Main Forum',
title = 'Main Forum',
description_clean = 'General forum, for general chit chat.',
description = 'General forum, for general chit chat.',
link = '',
displayorder = 1,
parentid = 1,
daysprune = -1,
defaultsortfield = 'lastpost',
defaultsortorder = 'desc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options - 16, options),
options = IF(options & 32, options - 32, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options - 8192, options),
options = IF(options & 4, options, options + 4),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 16384, options, options + 16384),
options = IF(options & 256, options - 256, options),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
options = IF(options & 512, options, options + 512),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
options = IF(options & 131072, options - 131072, options),
styleid = 0,
imageprefix = '',
password = '',
MARCO1_forumnocontent = '1'
WHERE forumid = 2;

MySQL Error  : Unknown column 'MARCO1_forumnocontent' in 'field list'
Error Number  : 1054
Request Date  : Tuesday, December 15th 2009 @ 12:58:59 AM

looks like it didnt create the colum "MARCO1_forumnocentent" dureing install..

:D
Yes, that's correct the Mod doesn't installed completely in your forum
This may have some conflicting Mods with this Mod try to disable all other Mods that's do the same job "hide" (Hide links,attachments ..etc) then re-install the Mod again

Thanks Vaupell for your reply :)

LordDB 12-17-2009 08:51 PM

I've had the same issue as Vaupell...mainly when using the 'Forum Manager' and trying to save changes which resulted in this error; the way round it was to disable your Mod, then I could save changes in the 'Forum Manager'.

Hope you can find a fix, Marco1, as it's a great Mod.

Vaupell 12-17-2009 09:16 PM

Quote:

Originally Posted by daPLAYBOY (Post 1932513)
I've had the same issue as Vaupell...mainly when using the 'Forum Manager' and trying to save changes which resulted in this error; the way round it was to disable your Mod, then I could save changes in the 'Forum Manager'.
as it's a great Mod.

well that was the problem. but also noticed it only "hides" the first post in a thread,
sooe,, uninstalled..

i was thinking i could block specifik forums with this message and have a few completely open.

just waiting for a new release or something :D no rush

MARCO1 12-17-2009 09:33 PM

Quote:

Originally Posted by Vaupell (Post 1932526)
well that was the problem. but also noticed it only "hides" the first post in a thread,
sooe,, uninstalled..

i was thinking i could block specifik forums with this message and have a few completely open.

just waiting for a new release or something :D no rush

Looks like I need to review the coding, however I have now more than 4 paid Mods so If I have a free time I will take a look at it :up:

MARCO1 12-18-2009 08:48 AM

Quote:

Originally Posted by daPLAYBOY (Post 1932513)
I've had the same issue as Vaupell...mainly when using the 'Forum Manager' and trying to save changes which resulted in this error; the way round it was to disable your Mod, then I could save changes in the 'Forum Manager'.

Hope you can find a fix, Marco1, as it's a great Mod.

Hi again,

I have tried the Mod more than 3 times in 3 different forums. What's your vBulletin version "B or RC" ?

LordDB 12-18-2009 11:49 AM

Hi Marco1!

The script I'm working on for a client is RC! :)

Kolbi 12-28-2009 11:52 AM

Quote:

Originally Posted by MARCO1 (Post 1930786)
Sure I can, but can you give me some more info ?

I only want to hide some parts of a post. I should work like a HIDE-BBCode.
that i can make [hide]not visible for guests[/hide]

iyama 12-28-2009 01:43 PM

Quote:

Originally Posted by Kolbi (Post 1940287)
I only want to hide some parts of a post. I should work like a HIDE-BBCode.
that i can make [hide]not visible for guests[/hide]

Include me to

MARCO1 12-28-2009 05:57 PM

Quote:

Originally Posted by Kolbi (Post 1940287)
I only want to hide some parts of a post. I should work like a HIDE-BBCode.
that i can make [hide]not visible for guests[/hide]

Working on it! :)

Kolbi 12-29-2009 06:03 AM

Quote:

Originally Posted by MARCO1 (Post 1940676)
Working on it! :)

Thank you :)

I would appreciate if you can manage this addon that I can choose which bb-code are not visible for guests.

Example:

I want to hide the bbcode "hide" and "code, so I choose "hide" and "code"
Second admin wants to hide "code" and "html" bbcodes so he chooses these in your addon.

Is something like that possible?

MARCO1 12-29-2009 03:40 PM

Quote:

Originally Posted by Kolbi (Post 1941250)
Thank you :)

I would appreciate if you can manage this addon that I can choose which bb-code are not visible for guests.

Example:

I want to hide the bbcode "hide" and "code, so I choose "hide" and "code"
Second admin wants to hide "code" and "html" bbcodes so he chooses these in your addon.

Is something like that possible?

hmm, Can you give me some more info ? looks very nice idea :)

Switch3130 12-29-2009 03:43 PM

Does this code work like the previous hide tags or no?

Kolbi 12-29-2009 04:24 PM

Quote:

Originally Posted by MARCO1 (Post 1941610)
hmm, Can you give me some more info ? looks very nice idea :)

Something like this: https://vborg.vbsupport.ru/showthread.php?t=105160

MARCO1 12-31-2009 01:12 PM

Quote:

Originally Posted by Kolbi (Post 1941646)

In MARCO1 Hide All will hide the links in CODE tags. next version is also having message manager to edit all the hide messages in your forum :)

There is also some other good ideas thanks for all vb.org members who have suggested them :)

TubeOfMommment 12-31-2009 02:48 PM

Just another feature would be good ..

For example, you need a certain amount of posts to view the hidden content.
(Something like: "You need to have 20 posts to see the hidden content.")

And another feature - usegroups, certain usergroups can see the content and some don't. (Admins can view, and registered users cannot.)

:)

MARCO1 12-31-2009 03:51 PM

Quote:

Originally Posted by TubeOfMommment (Post 1943444)
Just another feature would be good ..

For example, you need a certain amount of posts to view the hidden content.
(Something like: "You need to have 20 posts to see the hidden content.")

And another feature - usegroups, certain usergroups can see the content and some don't. (Admins can view, and registered users cannot.)

:)

Yes, I have added this also in my list. Now I'm working in My new version MARCO1 Hide All. Maybe I will merge this Mod of it. But until now I didn't decided if I merged it or not, What do you think ?

TubeOfMommment 01-01-2010 05:34 PM

Quote:

Originally Posted by MARCO1 (Post 1943477)
Yes, I have added this also in my list. Now I'm working in My new version MARCO1 Hide All. Maybe I will merge this Mod of it. But until now I didn't decided if I merged it or not, What do you think ?

Yes sure you can merge them :)

It will be a very useful mod.

elwachiman 01-03-2010 05:39 PM

the hack is very good but has an error or problem, when you create a forum and to create sample database error in order to create a forum must uninstall the product and presents no problem to create the forum or subforums.the same happens when trying to edit some option in the administration of forums


Code:

Database error in vBulletin 4.0.0:

Invalid SQL:
INSERT INTO forum
        (title_clean, title, description_clean, description, link, displayorder, parentid, daysprune, defaultsortfield, defaultsortorder, showprivate, newpostemail, newthreademail, options, styleid, imageprefix, password, MARCO1_forumnocontent, ucashoptions)
VALUES
        ('test', 'test', 'test', 'test', '', 1, 38, -1, 'lastpost', 'desc', 0, '', '', 97991, 0, '', '', '0', '1::1::1');

MySQL Error  : Unknown column 'MARCO1_forumnocontent' in 'field list'
Error Number  : 1054
Request Date  : Sunday, January 3rd 2010 @ 01:33:30 PM
Error Date    : Sunday, January 3rd 2010 @ 01:33:30 PM
Script        : http://*********/admincp/forum.php?do=update
Referrer      : http://********/admincp/forum.php?do=add&parentid=38&s=
IP Address    : 1***********
Username      :******
Classname    : vB_Database
MySQL Version : 5.0.85-community-log


MARCO1 01-03-2010 08:42 PM

Quote:

Originally Posted by elwachiman (Post 1946168)
the hack is very good but has an error or problem, when you create a forum and to create sample database error in order to create a forum must uninstall the product and presents no problem to create the forum or subforums.the same happens when trying to edit some option in the administration of forums


Code:

Database error in vBulletin 4.0.0:

Invalid SQL:
INSERT INTO forum
        (title_clean, title, description_clean, description, link, displayorder, parentid, daysprune, defaultsortfield, defaultsortorder, showprivate, newpostemail, newthreademail, options, styleid, imageprefix, password, MARCO1_forumnocontent, ucashoptions)
VALUES
        ('test', 'test', 'test', 'test', '', 1, 38, -1, 'lastpost', 'desc', 0, '', '', 97991, 0, '', '', '0', '1::1::1');

MySQL Error  : Unknown column 'MARCO1_forumnocontent' in 'field list'
Error Number  : 1054
Request Date  : Sunday, January 3rd 2010 @ 01:33:30 PM
Error Date    : Sunday, January 3rd 2010 @ 01:33:30 PM
Script        : http://*********/admincp/forum.php?do=update
Referrer      : http://********/admincp/forum.php?do=add&parentid=38&s=
IP Address    : 1***********
Username      :******
Classname    : vB_Database
MySQL Version : 5.0.85-community-log


Yes, I will looking into it when I have a free time. because I have now many of paid Mods and I should finish it ASAP.

Vehbi KOC 01-14-2010 05:22 AM

Thank you!...

iyama 01-21-2010 07:59 AM

Quote:

Originally Posted by MARCO1 (Post 1940676)
Working on it! :)

Any idea how long to wait? :rolleyes:

Allan 01-21-2010 07:44 PM

1 Attachment(s)
French language :)

Translator: Olijo (team vBr)
Thread: http://www.vbulletin-ressources.com/...ghlight=marco1

LordDB 01-22-2010 12:38 PM

@Allan, did you solve the issues here in your version:

https://vborg.vbsupport.ru/showpost....0&postcount=14

https://vborg.vbsupport.ru/showpost....4&postcount=15

PukkaBen 01-23-2010 05:26 PM

Hey Marco. Did you manage to build that hide bbcode? I would be very interested in running that on my forum so I can hide download links from guests!! It would be awesome if you have, as I don't want to hide whole forums.

Cheers!!

jet rex 03-21-2010 10:28 PM

Can you make this upgrade uses in Vb 3.8.4 ?

haXan 03-27-2010 03:21 PM

I have got Database Error

PHP Code:

Database error in vBulletin 4.0.2:

Invalid SQL:
UPDATE forum SET
    title_clean 
'Celal Bayar ?niversitesi İİBF Sınav Soruları & Ders Notları',
    
title 'Celal Bayar ?niversitesi İİBF Sınav Soruları & Ders Notları',
    
description_clean '',
    
description '',
    
link '',
    
displayorder 5,
    
parentid = -1,
    
daysprune = -1,
    
defaultsortfield 'lastpost',
    
defaultsortorder 'desc',
    
showprivate 0,
    
newpostemail '',
    
newthreademail '',
    
### Bitfield: forum.options ###
        
options = IF(options 8options 8options),
        
options = IF(options 16options 16options),
        
options = IF(options 32options 32options),
        
options = IF(options 32768options 32768options),
        
options = IF(options 8192options 8192options),
        
options = IF(options 4options 4options),
        
options = IF(options 1optionsoptions 1),
        
options = IF(options 2optionsoptions 2),
        
options = IF(options 16384optionsoptions 16384),
        
options = IF(options 256options 256options),
        
options = IF(options 64optionsoptions 64),
        
options = IF(options 128optionsoptions 128),
        
options = IF(options 512optionsoptions 512),
        
options = IF(options 1024optionsoptions 1024),
        
options = IF(options 2048optionsoptions 2048),
        
options = IF(options 4096optionsoptions 4096),
        
options = IF(options 65536optionsoptions 65536),
        
options = IF(options 131072options 131072options),
    
styleid 0,
    
imageprefix '',
    
password '',
    
MARCO1_forumnocontent '1'
WHERE forumid 261;

MySQL Error   Unknown column 'MARCO1_forumnocontent' in 'field list'
Error Number  1054
Request Date  
SaturdayMarch 27th 2010 05:19:42 PM
Error Date    
SaturdayMarch 27th 2010 05:19:42 PM
Script        
http://www.forumbayar.com/admincp/forum.php?do=update
Referrer      http://www.forumbayar.com/admincp/forum.php?do=edit&f=261&s=
IP Address    88.249.232.96
Username      
haXan
Classname     
vB_Database
MySQL Version 
5.0.89-community 


haXan 04-10-2010 02:10 PM

Any solution ?

Sworm 05-02-2010 09:01 AM

Hi Marco,
should be possible to hide only the link and not the whole thread for example?(excluding attachments and the text?)

Thanks

nader 05-02-2010 10:30 AM

Good mod

I have a mod that hide only url links. it did a great job to my forum. I got many users register to see hide links.

then after they register they just login to my forum without posting even thanks to the other uses.

can you add new feature to your mod prevent users to see the thread until he post any thing to the thread.

I hope the idea is clear.

raja811 05-03-2010 10:26 PM

thanks any possiblity only hide links,code,quote. because it's hide all but i need show images for guest any possibility?


All times are GMT. The time now is 06:19 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.01371 seconds
  • Memory Usage 1,886KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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