Go Back   vb.org Archive > Community Central > Community Reviews
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 10-10-2011, 06:17 AM
Mooff Mooff is offline
 
Join Date: Mar 2010
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the praise. =)

Quote:
Originally Posted by Alfa1 View Post
How did you create the image captions?
How did you do this: http://awesomescreenshot.com/0c9m161c7
That's our featured articles widget.
Admin puts in 4 ids in the frontend and the php widget grabs the according preview-picture, subtitle and title and throws them together with some css

Quote:
There is a text overlap on
Thanks for the bugreport, i'll see what i can do there.

Quote:
What do you mean with 'remove tags from the preview'? I do not have tags on the preview.
We are removing all html-tags which are present in our preview (expect url). Let's say in the article it could make sense to use font-sizes, smileys, bold text, quotes, line breaks ... in the first 2 sentences - well it doesn't in the preview, so we cut the preview down to plain text.

Quote:
The link 'Zum Forum' on the preview missed the threadid. http://www.united-forum.de/showthread.php?t=
Thanks, i'll look into that aswell.

Quote:
Thats very nice. What exactly are you showing? A gallery from a certain user or from a certain category?
Galleries are admin/editor only and work like this:
Create a gallery via jAlbum (a custom plugin creates the index.html we need for prettyphoto)
Upload that gallery (thumb-folder, big-pictures and index.html) to our FTP
Use the gallery bbcode and give the appropriate options. f.e. /gallery="folder=foldername"/
the php behind the bbcode does the rest and generates either the gallery, or gallery as content.

Quote:
Please expand on this.

Your source code looks much cleaner than default vbCMS pages. More content, less crap. Good for SEO as well.
your second line is what i meant with getting rid of yui.

The yui2 source code just looks awful (yui3 is a lot better). So if you want multiple colums and footers or headers, or some really fancy stuff you end up with tons and tons of code like that:
(that would be one widget block in yui2)
Code:
<div class=yui-b>
<div class=yui-gx>
<div class=yui-main>
<div class=yui-b yui-g>
<div class=yui-first>
<ul class="widgetcolumn">
---vb4-stuff---
<li>
<div class=block/widget/article>
... and finally your content
</div>
</li>
</ul>
--end vb4-stuff
</div></div></div></div></div></div>
and you have that for every widgetcolumn. horrible imo.

so we changed it to something like that:
(that would be a full cms grid - slider, articles + sidebar, 3 columns next to each other as footer)
Code:
<ul class=uf_slider>
vb4-stuff
</ul>
<div class=uf_main>
  <ul class=uf_articles>
  vb4-stuff
  </ul>
  <ul class=uf_sidebar>
  ...
  </ul>
</div>
<ul class=uf_column>
 ...
</ul>
<ul class=uf_column>
 ...
</ul>
<ul class=uf_column>
 ...
</ul>
And then write some own css to make those new classes the appropriate width and float them to their places. Alot cleaner that way. =)

btw. the flatten-grid function vb4 offers is awesome and if you know what you are doing (css and html wise) it makes not using yui relatively easy.
Reply With Quote
 


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 10:38 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.04744 seconds
  • Memory Usage 2,601KB
  • Queries Executed 12 (?)
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
  • (2)bbcode_code
  • (11)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (12)post_thanks_box
  • (1)post_thanks_box_bit
  • (12)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (12)post_thanks_postbit_info
  • (12)postbit
  • (12)postbit_onlinestatus
  • (12)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • 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_threaded
  • showthread_threaded_construct_link
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete