vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - [you] Replacement (https://vborg.vbsupport.ru/showthread.php?t=169166)

Boofo 06-19-2008 07:43 PM

Viewing as in the person looking at it.

TimberFloorAu 06-19-2008 07:53 PM

Quote:

Originally Posted by Boofo (Post 1553909)
Viewing as in the person looking at it.

Sorry mate.

Reason I am replying to this constantly is your mods/hacks are superb. Hence I want to see what this one does.

If it does something, surely a screenpic is possible.

Perhaps, we have other products that conflict with this.. i really dont know.

Ozzy

Mutt 06-20-2008 01:48 PM

this is my original hack from back in the v2 days. over the years I had added to it. one of the features I had added was to be able to limit it to specific forums via the forum manager.

Enable / Disable Features
Allow HTML
Allow BB Code
Allow [IMG] Code
Allow [YOU] Code

any plans on doing this for your 3.7 version?

also I had added the ability to use things like [YOU-EMAIL], [YOU-ID], & [YOU-IP]. I'd want to re-implement them but I was recently emailed by a user who pointed out that someone could post a scripted image to return the readers you code info. any suggestions on how I could avoid that? i certainly don't want someone lifting my users email address & ip.

thanks

Boofo 06-20-2008 02:05 PM

This is based on that but uses plug-ins now and all new code. ;)

PM me when you have time and we will see what we can come up with. Some of your additions
sound good.

Mutt 06-20-2008 04:04 PM

Quote:

Originally Posted by Boofo (Post 1554558)
This is based on that but uses plug-ins now and all new code. ;)

PM me when you have time and we will see what we can come up with. Some of your additions
sound good.

yeah, I'm looking at your code now. it's tiny. very simple. nice

looking at how to do what I want. added the forum option. just gotta make it work with your code. pretty sure i should be able to handle it with a if this script = showthread deal.

thanks

Boofo 06-20-2008 04:15 PM

I don't have it working with the email notification yet. Haven't found the right hook to get it work there. PM me when you get the changes made as I would like to look at it, if possible.

Mutt 06-20-2008 05:04 PM

tweaked it to check my foruminfo setting but I had to add

Code:

global $foruminfo;
to your global_complete plugin. how bad is that? do you think it would effect anything negatively?

the way i have it setup not it does your output replacement if the script is showthread or forumdisplay & enable_youcode is on for that forum. I know you have it on all over the place but for me, I want to limit it down to just the 1 joke forum. having it on everywhere would cause complete chaos on my site. :)

Boofo 06-20-2008 06:19 PM

Can you send me what you have when you are finished with it? I want to see how you did it. Did you figure out the email notification?

M-Tuning 06-26-2008 08:28 AM

Is it possible to only allow this for some usegroups?

saviola8x 06-27-2008 01:48 PM

Thanks add on. Nice


All times are GMT. The time now is 08:20 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.01490 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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