vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   WebTemplates 3.5.x: VB Integrated CMS (Content Management System) (https://vborg.vbsupport.ru/showthread.php?t=103076)

nitro 01-20-2006 03:01 PM

This seems to be very nice. My asociate runs the other way when I open vb and vbportal cp's. Now he can just ask for a new page and voila he can edit a page as much as he likes.

Found a minor bug or two tho when placing an image into and editor for TEXT. You can wrap it ok with img bb tags and save, but when you go to edit it again its wrapped it has parsed the url and needs the img tags redoing. Is there anyway to have the dont parse urls checkbox to the editors ?

Logician 01-20-2006 04:27 PM

Quote:

Originally Posted by TonysDesigns
(Logician, add me to your examples!! ;))

Added. I liked what you did with the hack. ;)

Quote:

Originally Posted by TonysDesigns
Took some tweaking to make it work outside my forums, but the way Logician setup the viewing permissions, it simply rocks!

Maybe you can share what you did in the thread so that others will use it too? I'm asked this so many times and frankly speaking I dont have free time to deal with this request.

Logician 01-20-2006 04:29 PM

Quote:

Originally Posted by Chris-777
Thankya. I got it renamed no prob, just can't get it below the main options.

Code:

<navgroup text="WebTemplates" hr="true" displayorder="3">

Set displayorder as 0 or 1 and if there are other hack options above WebTemplates, edit their xml files to increase their displayorder to push them down.

Logician 01-20-2006 04:32 PM

Quote:

Originally Posted by digitalSite
Thanks Logician! I always enjoy your hacks! I have a few more questions...

1) I have created a WebQuery that displays the "Last 10 threads" from any forum, but I would like to show only a limited number of characters in a thread title. In other words, I don't want the entire title displaying, instead, I would like to show something like: "This is a sample..." - Any help on this is greatly appreciated!

I have tried SELECT id, LEFT(title, 20), etc. but this didn't work for me.

You can do it with SUBSTRING like .
SELECT id, SUBSTRING(title, 0 20)..

Please see here http://www.webmasterworld.com/forum88/6209.htm for more info

digitalSite 01-20-2006 08:22 PM

Quote:

Originally Posted by Logician
You can do it with SUBSTRING like .
SELECT id, SUBSTRING(title, 0 20)..

Please see here http://www.webmasterworld.com/forum88/6209.htm for more info

Hi, I tried SELECT id, SUBSTRING(title, 0, 20), etc. and several variations I found in Google, but they are not working. It comes up blank. I know you're busy, so has anyone have theire titles of threads displaying on their site with only the first 10 or 20 characters? I would like to know how. Thanks.

Logician 01-20-2006 08:36 PM

Quote:

Originally Posted by digitalSite
Hi, I tried SELECT id, SUBSTRING(title, 0, 20), etc. and several variations I found in Google, but they are not working. It comes up blank. I know you're busy, so has anyone have theire titles of threads displaying on their site with only the first 10 or 20 characters? I would like to know how. Thanks.

ok try this (import in webtemplate import screen).. I did with left()

digitalSite 01-20-2006 11:03 PM

Quote:

Originally Posted by Logician
ok try this (import in webtemplate import screen).. I did with left()

Hi, this works! Now that we have the X character limit to display, there's just one other problem...the only thing is that although it says LIMIT 0,5 only the first post is shown.

How do we get last 10 to show?

Thanks so much...you should have received an email from PayPal ;)

nitro 01-21-2006 05:40 AM

Quote:

Originally Posted by nitro
This seems to be very nice. My asociate runs the other way when I open vb and vbportal cp's. Now he can just ask for a new page and voila he can edit a page as much as he likes.

Found a minor bug or two tho when placing an image into and editor for TEXT. You can wrap it ok with img bb tags and save, but when you go to edit it again its wrapped it has parsed the url and needs the img tags redoing. Is there anyway to have the dont parse urls checkbox to the editors ?

Yep this would be very annoying. Everytime you edit a TEXT type in the front end in either text or wysiwyg mode it drops img bbcode tags and you have to replace them all. And if you have a few images on a page and forget one then you have to edit again and start agian. It also auto parse urls every save and no option to not do so.

When this is fixed I can consider installing. :)

Logician 01-21-2006 07:26 AM

Quote:

Originally Posted by digitalSite
Hi, this works! Now that we have the X character limit to display, there's just one other problem...the only thing is that although it says LIMIT 0,5 only the first post is shown.

You are suppose to get last 5 in that forum. I get 5 in my test forum. Can it be because you have just 1 thread in that forum?

Logician 01-21-2006 07:33 AM

Quote:

Originally Posted by nitro
This seems to be very nice. My asociate runs the other way when I open vb and vbportal cp's. Now he can just ask for a new page and voila he can edit a page as much as he likes.

Found a minor bug or two tho when placing an image into and editor for TEXT. You can wrap it ok with img bb tags and save, but when you go to edit it again its wrapped it has parsed the url and needs the img tags redoing.

I cant confirm this behaviour. When I use a IMG tag in a webtemplate and then go edit in the editor interface, it parses just fine. I tested both with standart editor and WYSIWYG, all works fine for me.


All times are GMT. The time now is 11:58 PM.

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.01766 seconds
  • Memory Usage 1,751KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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