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 06-09-2009 08:04 AM

Quote:

Originally Posted by Saviour (Post 1825909)
This is what I'd like to do...

I want to edit the Article Tools so that the only thing that shows up is the link to Edit the Article. Is this possible?

open template af_firstpost

Find and delete
HTML Code:

<if condition="$show['closethread'] && $show['af_articletools']">
        <div class="alt2 smallfont" style="padding: 5px;  margin: 5px 5px 0px 5px;">
        <a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$post[postid]" rel="nofollow">$vbphrase[post_a_comment]</a>
        </div>
        </if>

find and delete
HTML Code:

<if condition="$show['member'] && $show['af_articletools']">
        <div class="alt2 smallfont" style="padding: 5px; margin: 0px 5px 0px 5px;">
                <if condition="$show['subscribed']">
                        <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$post[threadid]" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
                <else />
                        <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$post[threadid]" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
                </if>
        </div>
        </if>
        <if condition="$threadinfo['replycount'] && $show['af_articletools']">
        <div class="alt2 smallfont" style="padding: 5px; margin: 0px 5px 0px 5px;">
                        <a href="#comments" rel="nofollow">$vbphrase[jump_to_comments]</a>
        </div>
        </if>

Quote:

I also want the threadrate link to appear above or below it.

Find and delete:
HTML Code:

<if condition="$show['threadrating']">
                <div class="" id="threadrating" style="float: right;">
                        <a href="$show[nojs_link]#goto_threadrating"><span id="threadrating_current"><if condition="$show['rating']"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></span></a>
                        <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
                </div>
        </if>

-----------------------------------

Find:
HTML Code:

<if condition="$post['editlink'] && $show['af_articletools']">
        <div class="alt2 smallfont" style="padding: 5px;  margin: 0px 5px 0px 5px;">
                                <a href="$post[editlink]">$vbphrase[edit_article]</a>
        </div>
        </if>

Below add:

HTML Code:

<if condition="$show['threadrating']">
                <div class="alt2 smallfont" style="padding: 5px;  margin: 0px 5px 0px 5px;" id="threadrating">
                        <a href="$show[nojs_link]#goto_threadrating"><span id="threadrating_current"><if condition="$show['rating']"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></span></a>
                        <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
                </div>
        </if>


bananalive 06-09-2009 08:08 AM

Quote:

Originally Posted by maidos (Post 1825636)
is it possible to have rss support for the article

You can use rss support for forum. See https://vborg.vbsupport.ru/showpost....&postcount=311

Saviour 06-09-2009 11:47 AM

Thanks, bananalive...

Bram H 06-09-2009 12:34 PM

Quote:

Originally Posted by masterb44hz (Post 1825915)
It would be nice if there was an vBa Integration for this great mod ;)
I am not good a coding myself therefore i would be glad if someone could do it.

+1 :)

I have tried to import the article.php and make a module of it and to a certain level it works great as a frontpage, but it excludes all the other modules you have running on your portal

But i have a feeling somebody is gonna help us out, would be the best vBa addition since sliced bread :D

bananalive 06-09-2009 03:26 PM

1 Attachment(s)
Quote:

Originally Posted by Bram H (Post 1826349)
+1 :)

I have tried to import the article.php and make a module of it and to a certain level it works great as a frontpage, but it excludes all the other modules you have running on your portal

But i have a feeling somebody is gonna help us out, would be the best vBa addition since sliced bread :D

Try importing this vba module.

dancue 06-09-2009 07:01 PM

Cool, All you need now is a version check url so we can stay up to date with all the updates...

:)

dancue 06-09-2009 07:17 PM

Quote:

Originally Posted by bananalive (Post 1826448)
Try importing this vba module.

Can you align the info on this module? Like you did for the index page of the articles?

bananalive 06-10-2009 08:21 AM

1 Attachment(s)
Quote:

Originally Posted by dancue (Post 1826596)
Can you align the info on this module? Like you did for the index page of the articles?

I missed out line.

Demo: http://www.bananalive.co.cc/portal.php?pageid=afexample

dancue 06-10-2009 10:55 AM

Quote:

Originally Posted by bananalive (Post 1826845)

Good, but now the articles aligned that do not have an image have the titles indented.

bananalive 06-10-2009 01:29 PM

Quote:

Originally Posted by dancue (Post 1826900)
Good, but now the articles aligned that do not have an image have the titles indented.

This is only occuring for one of your articles due to image: http://www.billsretroworld.com/RetroJoe_Louis.jpg being non-existent. look at page2 of your articles to confirm this.


All times are GMT. The time now is 08:40 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.02566 seconds
  • Memory Usage 1,767KB
  • 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
  • (5)bbcode_html_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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