vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   bbcodes within other bbcodes (https://vborg.vbsupport.ru/showthread.php?t=77182)

CrazyLady 03-01-2005 04:22 PM

Quote:

Originally Posted by MarcoH64
Hmm not sure if it will work, but please give this a try first.

In your newattachmentbit template, find:
Code:

                        <b>[MP3]http://www.yoursite.com/vb/attachment.php?attachmentid=$attach[attachmentid].mp3[/MP3]</b>
Replace that by:
Code:

                        <b>[MP3]http://www.yoursite.com/vb/attachment.php?attachmentid=$attach[attachmentid].mp3[noguest]This text is only for registered memberp[/noguest][/MP3]</b>

If you mean this, than no. I am not working with attachments so I don't need to alter that code.

I would like to have the noguest code within the new custom media player code I added... as in my first post.

I hope I am not confusing you... lol :nervous:

I appreciate your attempt MarcoH64 :) Sorry if I was unclear in anyway as to my need here.

On my old board, a user will click on the bbcode media button, paste in the url to the file, and it will display something like this in their text box.

[media]"http://www.mysite.com/mediafile.mpeg"[/media]

Once they click submit, the post will show the Media player screen and buttons, but below it the additional text will display, viewable to members but hidden to guests. They didn't enter it, it was set in advance and automatically included in the media bbcode.

So, I want to do the same thing with my new VB, problem is, it's not working. And if I import my old board and threads, all the hidden text will be viewable... huge problem :(

I went to the custom bbcode, added the media player object code and after that the noguest code and text. But when I go to make a post, the media player shows, but I then also see the ENTIRE [noguest]text[/noguest] code displays, like the board didn't read the bbcode. So, my problem is, how do I get VB to read the noguest code within the media code I added?

This is the only thing stopping me from importing my current board and start using my new VB. If I can't get this to work, I can't use VB... so much for the money I just spent. Just a little worried here. If you have any other suggestions... or perhaps someone else is reading this and may have some input, I would be forever grateful.

thanks
CL

Marco van Herwaarden 03-02-2005 03:32 PM

Well i am sure this can be solved. Unfortuantly i have been busy wih other things (non vB) all day, and i didn't look more into your problem. I will try to find a solution for your problem tomorrow or the day after, if you don't hear from me till friday, please PM me again ;)

CrazyLady 03-03-2005 01:53 PM

Thank you for your help MarcoH64!

... does anyone know if this fix is even possible or might be able to help us out?

CL

ericgtr 03-03-2005 02:23 PM

It looks like you are trying to use this with my embedded media player mod, is that right? I have been trying to work this out forever, even with some help from Marcoh64. His mod that secures BB Codes works great but i've never been able to get it to work with the embedded media player codes. It could be because the preg_replace doesn't like what's in between the tags but I would love a solution for this.

CrazyLady 03-06-2005 02:36 AM

nope, no media mod, I just added a custom mod with the html of an embedded media player, and it worked.. I would like to add additional bbcode inside my custom bbcodes, but it doesn't work.

any luck with that MarcoH64?

thanks

CrazyLady 03-23-2005 02:39 AM

any thoughts or suggestions on this? :confused:


All times are GMT. The time now is 08:17 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.01039 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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