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)
-   -   Miscellaneous Hacks - CES Parser Permissions (https://vborg.vbsupport.ru/showthread.php?t=138476)

thincom2000 05-02-2008 02:41 AM

There is no blog support in this mod because I do not own a blog license nor do I intend to. In order for me to add blog support, someone would have to give me full admin access to a test blog. Someone offered to let me do this a while back, but I never heard from them again.

If you are still having signature trouble, you probably need to clear the signature cache.

Detomah 05-02-2008 10:38 AM

Quote:

Originally Posted by thincom2000 (Post 1505310)
There is no blog support in this mod because I do not own a blog license nor do I intend to. In order for me to add blog support, someone would have to give me full admin access to a test blog. Someone offered to let me do this a while back, but I never heard from them again.

Fair enough.

Having done some further checks, my site has far too many other sections and addons dependent upon bbcode working without the need for additional permissions checks, which suddenly stopped working when I installed this hack and I cetainly can't/wouldn't expect any coder to add special bits just for me, so with that, unfortunately it renders this hack useless to me.

I guess I go back to the drawing board in my search for a simply way of getting bbcode and imgcode to parse on the membersinfo pages. Shame, I had it working perfectly with my own code before updating to 3.7 but it's stopped working now. Unless maybe you could possibly help me with a simple bit of code that would make bbcode and imgcode parse for profile fields?

marcossalazar 05-05-2008 04:12 PM

Quote:

Originally Posted by marcossalazar (Post 1504969)
Thanks for the email. So I turned on HTML on the BBcode section of VB options as well as in the signature permissions and the mod is enabled and everyone has the right permissions (well, me since it is on a test forum) and still when I insert HTML into the signature is not working.

Sorry to ask this again, but is there something with the signature section when everything is set up properly?

Thanks,

Marcos

I would still like to know why the HTML inserted into the signature does not work when this mod is installed. I will certainly donate some money if this can be fixed :)!

Thanks,

Marcos

thincom2000 05-05-2008 06:20 PM

Quote:

Originally Posted by Detomah (Post 1505621)
Having done some further checks, my site has far too many other sections and addons dependent upon bbcode working without the need for additional permissions checks, which suddenly stopped working when I installed this hack and I cetainly can't/wouldn't expect any coder to add special bits just for me, so with that, unfortunately it renders this hack useless to me.

The mod has two hook locations that you can use to set the variables correctly for those mods, or that you can use to skip the checks altogether for those mods ($this->ces_options['skip_cpp']). In the case of adding support manually via the hooks, the mod should use post permissions by default.

thincom2000 05-05-2008 06:23 PM

Quote:

Originally Posted by marcossalazar (Post 1509430)
I would still like to know why the HTML inserted into the signature does not work when this mod is installed. I will certainly donate some money if this can be fixed :)!

Thanks,

Marcos

Chances are that when the permissions were wrong the signature was cached. Did you try my suggestion from a few posts ago and rebuild the signature cache? I have not been able to duplicate your issue any other way.

marcossalazar 05-05-2008 07:36 PM

Quote:

Originally Posted by thincom2000 (Post 1509592)
Chances are that when the permissions were wrong the signature was cached. Did you try my suggestion from a few posts ago and rebuild the signature cache? I have not been able to duplicate your issue any other way.

I rebuilt it and nothing. I am able to use BBcode in the signature, but not HTML. I am going to uninstall the mod, then reupload/reinstall everything. I am also going to add a new member after I install it to see if that may work. I liked on vb.com and with some people they have to execute a SQL query in order for it to change the signatures. This may happen to other people in the future after installing the mod, so I will post any progress I make. Thanks!

thincom2000 05-05-2008 08:16 PM

If you still have problems I am going to recommend creating another admin on that test board and PMing me a way to access it.

marcossalazar 05-07-2008 01:23 PM

Quote:

Originally Posted by thincom2000 (Post 1509704)
If you still have problems I am going to recommend creating another admin on that test board and PMing me a way to access it.

Just PMed you. Thanks!

thincom2000 05-07-2008 02:38 PM

Okay, so after some frustration on your site, I noticed that in the current release, Profile permissions (except sigs) are actually using Social Message permissions (and you had all of these off). This is not intended functionality, and I believe it was leftover from the last time I was testing and just wanted to make a catchall for something that wasn't working.

Upon this discovery, there will be a new release in a couple of hours to fix this problem. I have also added a check to prevent this mod from running on signatures, since those already have fully customizeable permissions by default.

Someone reported a problem with events a bit back, so I will be looking into that before the patch.

marcossalazar 05-07-2008 02:55 PM

Quote:

Originally Posted by thincom2000 (Post 1511680)
Okay, so after some frustration on your site, I noticed that in the current release, Profile permissions (except sigs) are actually using Social Message permissions (and you had all of these off). This is not intended functionality, and I believe it was leftover from the last time I was testing and just wanted to make a catchall for something that wasn't working.

Upon this discovery, there will be a new release in a couple of hours to fix this problem. I have also added a check to prevent this mod from running on signatures, since those already have fully customizeable permissions by default.

Someone reported a problem with events a bit back, so I will be looking into that before the patch.

Ahh...I had the social message permissions off because I am not going to use social groups on my board (I am assuming those are the options for social groups). Thanks for coming out with a new version and such a great mod. I just made a donation :)!

thincom2000 05-07-2008 03:54 PM

Quote:

Originally Posted by marcossalazar (Post 1511690)
(I am assuming those are the options for social groups)

They are also the options for the Visitor Messages on a user's profile, for picture comments, and for "user notes" (which I don't even understand what they are supposed to be). In vB 3.7, these are sometimes all handled (with the exception of usernotes, which I threw in there on my own) by the mystical "socialmessage" forum id, sometimes by their individual ids. Why? That I don't quite understand either.

So you may want to reconsider having the Social Message options off. :p

marcossalazar 05-07-2008 05:20 PM

Quote:

Originally Posted by thincom2000 (Post 1511747)
They are also the options for the Visitor Messages on a user's profile, for picture comments, and for "user notes" (which I don't even understand what they are supposed to be). In vB 3.7, these are sometimes all handled (with the exception of usernotes, which I threw in there on my own) by the mystical "socialmessage" forum id, sometimes by their individual ids. Why? That I don't quite understand either.

So you may want to reconsider having the Social Message options off. :p

Yes, I will just put them on. No one will be able to create or join social groups anyways, so no harm in turning them on. Thanks!

marcossalazar 05-07-2008 10:53 PM

Just installed it and it works perfectly. Thanks!

marcossalazar 05-29-2008 04:02 PM

It seems that the URL BB Code is not working in the Profile Fields. BB Code like Bold / Italic / Underline works perfectly, but when I put something like

HTML Code:

[url=http://www.vbulletin.com/forum]vBulletin Community Forum[/url]
it comes out in the profile field as


HTML Code:

[url=http://www.vbulletin.com/forum]vBulletin Community Forum[/url]
and is not creating a link.

Is there a bug with this?

Thanks,

Marcos

marcossalazar 05-29-2008 04:28 PM

Sorry, and this is 3.7.1.

thincom2000 05-31-2008 09:12 PM

Quote:

Originally Posted by marcossalazar (Post 1535261)
It seems that the URL BB Code is not working in the Profile Fields.

Cannot reproduce in 3.7.1...

I only found a bug where the Location info on the Forum Leaders page is not parsed.

marcossalazar 05-31-2008 11:59 PM

Thanks for the reply. So are you able to create URLs within a new profile field you have created? I had been putting the URL bb code into a newly created profile field and it is not working, but when I put the same code e.g.,
HTML Code:

[url=http://www.vbulletin.com/forum]vBulletin Community Forum[/url]
within the first field that automatically is set up when you create a new vb forum, it parses and the URL is created. I checked the profile fields and the original one that is set up with a new vb board and the new one I created have the same settings. Could there be a bug with newly created profile fields?

Thanks,

Marcos

thincom2000 06-01-2008 03:12 AM

Quote:

Originally Posted by marcossalazar (Post 1537432)
Could there be a bug with newly created profile fields?

Have you looked at this option?

Code:

Parse Which Profile Fields?
List the Profile Field IDs that you would like to be parsed in profile pages. Separate multiple entries with a space.


marcossalazar 06-01-2008 03:48 AM

Quote:

Originally Posted by thincom2000 (Post 1537520)
Have you looked at this option?

Code:

Parse Which Profile Fields?
List the Profile Field IDs that you would like to be parsed in profile pages. Separate multiple entries with a space.


Ahhh...i didn't even realize that was an option! :) It is working perfectly! Thanks!

elmati 06-03-2008 04:22 AM

Hi thincom2000!
I love your hack, it's great!
But as usual i have a request...

Can you add an option to allow embed tag from some pages?
i mean, i want to use music player widget from www.last.fm
so i allow to embed just that player and any other embed dont parse...

Every embed tag has a src attribute you can find there the url to allow the parse...

i need to allow multiple pages like: http://www.myflashfetish.com, www.last.fm, photobucket.com, slide.com

there is a way to allow this?

Thanks in advance!

thincom2000 06-03-2008 02:21 PM

If you want to do that it should be pretty simple for you to create a custom [EMBED] BB-Code on your site that only allows certain site's URLs if the strpos === 0

elmati 06-03-2008 06:16 PM

Quote:

Originally Posted by thincom2000 (Post 1539745)
If you want to do that it should be pretty simple for you to create a custom [EMBED] BB-Code on your site that only allows certain site's URLs if the strpos === 0

Ok, but i dont know how to make a bb-code to show this:

HTML Code:

<center><p style="visibility:visible;"><embed src="http://assets.myflashfetish.com/swf/mp3/mff-mpodmin.swf" quality="high" wmode="transparent" flashvars="myid=10048413&path=2008/06/02&mycolor=692E2E&mycolor2=2B0909&mycolor3=FFFFFF&autoplay=true&rand=0&f=3&vol=100&pat=6" width="158" height="208" name="myflashfetish" align="middle"type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0" /><br><a href="http://www.myflashfetish.com/playlist/10048413" target="_blank"><img src="http://assets.myflashfetish.com/images/get-tracks.gif" title="Get Music Tracks!" style="border-style:none;" alt="Music"></a><a href="http://www.mixpod.com" target="_blank"><img src="http://assets.myflashfetish.com/images/make-own.gif" title="Create A Playlist!" style="border-style:none;" alt="Playlist"></a><br></p></center><img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/CIMP/bT*xJmx*PTEyMTI*Njc3MzYzMTImcHQ9MTIxMjQ2NzczNzIzNCZwPTE4MDMxJmQ9Jm49Jmc9MQ==.jpg" />
each site has your own code, let me see an example what are you saying...

thanks!

thincom2000 06-03-2008 07:19 PM

Use hook bbcode_create to add the definition. Give the BB-Code an external callback to handle the URLs however you want.

If you're unfamiliar with it, you should first immerse yourself in includes/class_bbcode.php so you get an idea of how it works.

W-ENTER 06-22-2008 05:46 AM

Great mod,

But not work when I change Profilefield page to 'options page' 'form=5'.

I use v3.7.1.

Thank you.

thincom2000 06-22-2008 06:26 AM

Quote:

Originally Posted by W-ENTER (Post 1555822)
Great mod,

But not work when I change Profilefield page to 'options page' 'form=5'.

I use v3.7.1.

Thank you.

Can you post a screenshot? Thanks.

W-ENTER 06-22-2008 06:44 AM

I use this post

https://vborg.vbsupport.ru/showpost....&postcount=137

bbcode work fine if my custom field in page 'Edit Your Details' but not work if I choose other locations page like 'Options'

W-ENTER 06-22-2008 06:54 AM

lock at it to know what I mean
Attachment 82779

thincom2000 06-22-2008 02:41 PM

Okay I didn't know about that option either, but what I meant was a screenshot of it in context not parsing.

OsideRida06 06-24-2008 05:31 AM

I have been wanting to install this for a while. However after I install it, it for some reasons takes away the bbCode in my shoutbox. I have checked all the permissions and everything looks like it is set right. Does anyone have any idea what it could be?

Here is a pic of it on my test board.

http://calistyle101.com/images/forum.gif

Any and all help would be greatly appreciated. Thanks!

OsideRida06 06-24-2008 10:25 AM

I would love to mark this as installed if I can get this fixed.

thincom2000 06-24-2008 01:29 PM

You want to use the $parser->ces_options['skip_cpp'] flag.

OsideRida06 06-24-2008 08:39 PM

Quote:

Originally Posted by thincom2000 (Post 1557771)
You want to use the $parser->ces_options['skip_cpp'] flag.

Where does this code go? Does it replace something? I am not sure where it goes at all. I would love to get this resolved though.

thincom2000 06-24-2008 08:51 PM

Quote:

Originally Posted by OsideRida06 (Post 1558064)
Where does this code go? Does it replace something? I am not sure where it goes at all.

Neither do I. :rolleyes: I will need a link to the shoutbox mod.

Antiblank 06-24-2008 09:30 PM

Yeah this took away the bbcode from my posts on the front page thru vBAdvanced. Any idea where I can put the code to get my bbcode back?

thincom2000 06-24-2008 10:21 PM

Again, I would need a link to the particular mod you are having problems integrating with. For vbadvanced, I would need a link to the particular module.

Antiblank 06-24-2008 10:43 PM

I'm not sure where I should find the module, its not anything custom or special. It's the main block of vBAdvanced. Taking posts from a specified forums and displaying them on the front page of vBAdvanced.

OsideRida06 06-24-2008 11:14 PM

Here is the mod for the shoutbox.

https://vborg.vbsupport.ru/showthrea...ferno+shoutbox

Thanks again for your help. I cannot wait to get this working.

thincom2000 06-25-2008 04:11 AM

For shoutbox users - The only way I can see to do this is with a file edit:

In infernoshout/engine/inferno_shout.php, find:
PHP Code:

$text $this->parser->parse(trim($text), 'nonforum'); 

Add before:
PHP Code:

$this->parser->ces_options['skip_cpp'] = true


OsideRida06 06-25-2008 04:51 AM

Quote:

Originally Posted by thincom2000 (Post 1558261)
For shoutbox users - The only way I can see to do this is with a file edit:

In infernoshout/engine/inferno_shout.php, find:
PHP Code:

$text $this->parser->parse(trim($text), 'nonforum'); 

Add before:
PHP Code:

$this->parser->ces_options['skip_cpp'] = true


Thank you sooo much. It worked like a charm. A file edit is more than worth being able to use this great mod. Thanks again for the quick responses through this situation.

I am marking this as installed right now.

OsideRida06 06-25-2008 08:14 PM

I just now noticed this. The bb code in the blogs have now been disabled. How do I get it back? All the permissions say that they are allowed to be used in the usergroups. I have the official vbulletin blog system.

Also the vbadvance is also not allowing the bb code. These are the last two things and then this is installed perfectly. It would be great to a fast response again.

I am using vBadvanced CMPS.


All times are GMT. The time now is 08:14 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.01656 seconds
  • Memory Usage 1,862KB
  • 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_code_printable
  • (4)bbcode_html_printable
  • (4)bbcode_php_printable
  • (17)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
  • (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