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)
-   -   Integration with vBulletin - CES Wiki Conditionals (https://vborg.vbsupport.ru/showthread.php?t=147237)

thincom2000 05-31-2007 02:45 AM

Okay that's a step in the right direction...

RedGTiVR6 05-31-2007 02:50 AM

btw - I do really appreciate your assistance on this. It is greatly appreciated.

If I used PayPal (I refuse) I would donate.

Any other way you suggest?

thincom2000 05-31-2007 02:54 AM

I registered and made an edit to the page. It's working. The problem was that the old version of the page was cached, so it wasn't trying to reparse anything after the hook issue was fixed.

Since I made an edit you should probably re-edit to remove the extra text "Only showing to admins..." (don't revert to the last revision).

P.S. If you are using the conditions to hide text by Usergroup, I would not recommend letting anyone lower than that edit the page. With the hook vbw_map_permissions, you should be able to lock down certain pages if this isn't already a feature of vbWiki Pro.

RedGTiVR6 05-31-2007 03:07 AM

Thanks.

I noticed this change, but I also noticed the <else /> as being still visible when I check the page, but the first part of the code isn't.

Also, if I logged in as a non-admin and looked at the page, it showed as desired, but if I went in to edit it, I could see it all.

So by your last post...

If I have an article that the members of the company are working on but we don't want to be visible by the public yet...we shoud only allow that user group to edit the article. Do I understand that correctly?

thincom2000 05-31-2007 02:13 PM

That understanding is correct.

EDIT: I noticed what you said about using <else />. I will fix that for the next build, thanks.

RedGTiVR6 05-31-2007 03:00 PM

Thanks for the support! It's greatly appreciated.

I'm off to send an email to the company to let them know about the new ability.

RedGTiVR6 05-31-2007 05:55 PM

I'm back...:(

Perhaps this isn't possible, but I cannot figure out how to allow only certain user groups to edit an article.

I can see where we can protect it, but there's only the Sysops group that I can choose or the unregistered group.

Am I missing something?

majorxp 05-31-2007 06:06 PM

Quote:

Originally Posted by Wayne Luke (Post 1250380)
Then don't use it. Quite simply, I see a Wiki as simply another form of content management. I may not want the general public to change my content and integrations like this allow me to lock things down without worrying about protecting every page.

I'm incredibly confused by this message.

integrations like this allow me to lock things down
I was pretty clear that you do not want to use this plugin to lock down content. Simply adding your wiki to an rss feed will show any 'protected' content you may have (as well as showing the code you place on the page). You could also show the full content of the page by adding the "raw" option.

without worrying about protecting every page.
This plugin requires page by page protection since it only works on a per page basis.

thincom2000 05-31-2007 11:02 PM

Working on this... How do you view the RSS output of the page? Is this a new feature in MW 1.10?

majorxp 06-01-2007 02:54 PM

You can get the rss feed of the recent changes which would include any code you add to a page.


RSS Feed:
http://www.crackedeggstudios.net/wik...anges&feed=rss
(you have disabled the feed presumably to not show the code)

Furthermore, you can see the diff history of any page and see the code. This is just too easy to see the 'hidden code' that it is (unfortunately) ineffective at best.

For example, see this page:
http://www.crackedeggstudios.net/wik...anges&days=100

From there, you can look at this page:
http://www.crackedeggstudios.net/wik...293&oldid=2292

This page clearly shows the 'protected content' and the CODE.

To make matters worse, you could view the raw page and see the full current page with all of your code and the hidden content:
http://www.crackedeggstudios.net/wik...ent&action=raw


EDIT: If anyone is going to say something like, "well...this is just to hack or someone who tries to see hidden code" you are fooling yourself.

A simple search also shows hidden content.
Someone could search for something as simple as the word "links" and show 'hidden content' (since the search engine has no idea it is supposed to be hidden from that user).
http://www.crackedeggstudios.net/wik...searchx=Search



Again, this mod should NOT be used to hide or protect content under any circumstance. It just doesn't work. If you want to protect or hide content, I would wait until there is an extension that will tie categories or pages to user groups and then use the vbwiki tool to match wiki user groups and vb groups.

Seriously, a wiki is not designed or intended to protect or show content. It is a tool to openly share information where everyone can edit it. If you need to hide or protect information, mediawiki is not the tool you are looking for.


All times are GMT. The time now is 09:47 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.01192 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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