Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 03-01-2005, 04:22 PM
CrazyLady CrazyLady is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #12  
Old 03-02-2005, 03:32 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #13  
Old 03-03-2005, 01:53 PM
CrazyLady CrazyLady is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for your help MarcoH64!

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

CL
Reply With Quote
  #14  
Old 03-03-2005, 02:23 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 03-06-2005, 02:36 AM
CrazyLady CrazyLady is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 03-23-2005, 02:39 AM
CrazyLady CrazyLady is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any thoughts or suggestions on this?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:28 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.03524 seconds
  • Memory Usage 2,210KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete