vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - vB News CMS (https://vborg.vbsupport.ru/showthread.php?t=219152)

Freddyos 08-12-2009 03:57 PM

Hey,

first: nice hack
second: If I post a Thread with Pictures (with html-code) they aren't shown at vbnews.php

solutions?

Edit: Can I add this BBCode [imgleft]PIC[/imgleft] to your Addon? But the vbnews.php show only the code, not the picture

Mosh 08-13-2009 03:00 AM

Quote:

Originally Posted by Freddyos (Post 1865947)
Hey,

first: nice hack
second: If I post a Thread with Pictures (with html-code) they aren't shown at vbnews.php

solutions?

Can you post the url to your installation so I can have a look.

Quote:

Originally Posted by Freddyos (Post 1865947)
Edit: Can I add this BBCode [imgleft]PIC[/imgleft] to your Addon? But the vbnews.php show only the code, not the picture

This hack should automatically uses custom BBCode (as long as Allow BBCode is set to Yes).

So again, can you post the url to your installation so I can have a look.

Freddyos 08-13-2009 12:19 PM

<a href="http://boyce-avenue.de" target="_blank">http://boyce-avenue.de</a>

Allow BBCode is set to Yes - RIGHT

Mosh 08-14-2009 03:16 AM

Quote:

Originally Posted by Freddyos (Post 1866430)
http://boyce-avenue.de

Allow BBCode is set to Yes - RIGHT

Mmmm....yes, I see the problem.

OK, lets see if I can fix it.

I will get back to you in the next day or so, hopefully with a solution.

Freddyos 08-14-2009 12:38 PM

Okay, thanks for support :)

Mosh 08-15-2009 06:23 AM

Quote:

Originally Posted by Freddyos (Post 1865947)
Hey,

first: nice hack
second: If I post a Thread with Pictures (with html-code) they aren't shown at vbnews.php

solutions?

In the vBulletin options for this hack, set Allow HTML? to Yes for the embedded Youtube video to show, as you are pasting native html into the page (and have html enabled in that forum), it does not look like you have a BBCode for that video (unless you are using a hack such as AME to embed the video).

Quote:

Originally Posted by Freddyos (Post 1865947)
Edit: Can I add this BBCode [imgleft]PIC[/imgleft] to your Addon? But the vbnews.php show only the code, not the picture

Edit both archives.php and vbnews.php, find:
PHP Code:

    $parser =& new vB_BbCodeParser($vbulletinfetch_tag_list()); 

Change it to:
PHP Code:

    $parser =& new vB_BbCodeParser($vbulletinfetch_tag_list(''true)); 

Tell me if that enables you to use your [imgleft] and [imgright] tags.

If it does work, then I will add an option to allow for use of custom tags in the options and release a new version.

Freddyos 08-15-2009 11:51 AM

I have changed both archives.php and vbnews.php but no picture.

Yeah, i used the Code from YouTube to embemd this video. I dont care about it.

The IMG is more important for me.

Mosh 08-15-2009 09:01 PM

Quote:

Originally Posted by Freddyos (Post 1867820)
I have changed both archives.php and vbnews.php but no picture.

Yeah, i used the Code from YouTube to embemd this video. I dont care about it.

The IMG is more important for me.

You are going to need to tell me what code you actually use for your [imgleft] and [imgright] BBCode tags, and a url to a thread that uses the tags, so I can have a play around with/see the custom BBCodes causing the issue.

Mosh 08-17-2009 02:44 AM

1 Attachment(s)
Quote:

Originally Posted by Freddyos (Post 1867820)
I have changed both archives.php and vbnews.php but no picture.

Yeah, i used the Code from YouTube to embemd this video. I dont care about it.

The IMG is more important for me.

Actually the solution is very simple :cool: but took me so long to figure out :(

I have found that if custom BBCode tags are created in the BB Code Manager with capitals, then they will not parse, but if they are in lower case they will parse fine (the screenshot attached will show that it is working, I recreated your [imgleft] tag and copied your post text to my test forum to test out the solution).

So, in your Custom BB Codes -> BB Code Manager, in the BB Code Tag Name field rename your [IMGLEFT] and [IMGRIGHT] tags to [imgleft] and [imgright] respectively, and that will allow your images to show up.

You can remove the file changes that I asked you to do earlier :)

Freddyos 08-17-2009 02:15 PM

GREAT!! Thank you very much for supporting :)

It works :)


All times are GMT. The time now is 04:58 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.01200 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (7)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
  • (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