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)
-   -   Forum Display Enhancements - Article Forums (https://vborg.vbsupport.ru/showthread.php?t=211638)

bananalive 05-20-2009 12:37 PM

Quote:

Originally Posted by glowinggal (Post 1814009)
is there a way to display "newest posts" from this on a non-vb page? (ie: like a php page)

http://www.yoursite.com/forum/search.php?do=getnew&f=111

Where 111 is the forumid of the forum & sub-forum you want new posts from.

bananalive 05-20-2009 12:39 PM

Quote:

Originally Posted by s8glive (Post 1814018)
bug found look at image

Template: af_articlebit

Code:

<div style="padding:$stylevar[cellpadding]px 0px $stylevar[cellpadding]px 0px; border-top-width: 1px; border-top-style: dotted; overflow: hidden;">
<if condition="$thread['attachmentid'] AND $thread['thumbsize']">
<div style="float: left; padding-right: $stylevar[cellpadding]px; padding-bottom: 4px; $thumbdivstyle"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><img src="attachment.php?attachmentid=$thread[attachmentid]&amp;stc=1&amp;thumb=1" alt="" border="0" /></a></div>
</if>

<if condition="$thread['altimage'] && $thread['image']">
<div style="float: left; padding-right: $stylevar[cellpadding]px; padding-bottom: 4px; max-width: 100px; max-height: 100px; overflow: hidden; $thumbdivstyle"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><img src="$thread[image]" alt="" border="0" style="max-width: 100px; max-height: 100px;  width: expression(this.width > 100 ? 100: true);" /></a></div>
</if>

<div style=""><div class="highlight bigfont" style="padding:0px 0px 0px 0px;"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bolder"</if>>$thread[threadtitle]</a></div>
<div class="smallfont" style="padding:0px 0px $stylevar[cellpadding]px 0px;"><span class="shade ">$thread[postusername]</span> $post[date]</div>
<if condition="$vboptions[af_threadpreview]!=0">$thread[preview]</if><br />
<if condition="$thread[replycount]"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]#comments"><phrase 1="$thread[replycount]">$vbphrase[x_article_replies]</phrase></a></if></div>
</div>


bananalive 05-20-2009 12:40 PM

Quote:

Originally Posted by dancue (Post 1814021)
That got everything to work except disabling in certain styles. Was I correct in typing in just the number, "22"?

Yes, just use styleid

dancue 05-20-2009 12:41 PM

Quote:

Originally Posted by bananalive (Post 1814051)
Yes, just use styleid

Unfortunately, it did not work. It's still appearing in that style.

bananalive 05-20-2009 12:47 PM

Quote:

Originally Posted by dancue (Post 1814053)
Unfortunately, it did not work. It's still appearing in that style.

I've tested it on my forum. Are you sure you're using correct styleid?

dancue 05-20-2009 01:08 PM

positive. It's a mobile style. you can check it out yourself.

edit:
hmm...weird. It seems to work ok on my home browser, but not the iphone. Would you happen to have an iphone to check it out?

bananalive 05-20-2009 01:32 PM

Quote:

Originally Posted by dancue (Post 1814063)
positive. It's a mobile style. you can check it out yourself.

edit:
hmm...weird. It seems to work ok on my home browser, but not the iphone. Would you happen to have an iphone to check it out?

no sorry; I've found iphone simulator

dancue 05-20-2009 01:42 PM

Can I just delete templates in that style? Will that work?

bananalive 05-20-2009 03:03 PM

Quote:

Originally Posted by dancue (Post 1814085)
Can I just delete templates in that style? Will that work?

No.

Which pages have you tested? Is it altering showthread.php on iphone skin or just articles.php?

dancue 05-20-2009 03:08 PM

both


All times are GMT. The time now is 01:29 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.01417 seconds
  • Memory Usage 1,745KB
  • 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
  • (7)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