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)
-   -   Latest Threads On Forum Home (https://vborg.vbsupport.ru/showthread.php?t=83230)

aveon 09-12-2006 07:27 PM

ok gary

i put this code

Quote:

require_once('./includes/functions_forumlist.php');
eval("\$threadbits .= \"".fetch_template('forumhome_latestthreadbit')."\ ";");
above this on global.php

Quote:

// parse some global templates
ad then on chris's produck i changes hook name to global start but it gave me this error

Fatal error: Call to undefined function: fetch_iconinfo() in /kunden/137092_81737/www.e-paylas.de/forum/global.php(357) : eval()'d code on line 1334

i really need this if you can help me out with this or did i do something wrong??

MRGTB 09-12-2006 09:01 PM

sorry I'm not sure.

aveon 09-13-2006 12:25 AM

hmm np anybody else??

phovanxua 09-25-2006 07:07 AM

Thanks Chris M and everyone here ...I just Installed tonight ....and It's worked fine ....It's took me almost a day to read all this post here then I installed it.

Eagle Creek 09-28-2006 05:34 PM

Any change it will work at 3.6.1?

seric 10-03-2006 10:33 PM

I just installed it on 3.6.1 and it seems to be working fine so far.

L-Mane 10-05-2006 11:52 PM

I dont know why I seem to get this

http://www.wordofsouth.com/myblock/h...cons/4icon.gif

saman 10-07-2006 11:22 PM

will this work with vb 3.6.1 ?

shaynehammy 10-10-2006 04:52 AM

Quote:

Originally Posted by shaynehammy
I would appreciate it if anyone could show me how to have the latest posts scrolling down vertically?

Anyone?

aveon 10-11-2006 08:17 PM

Quote:

Originally Posted by shaynehammy
Anyone?


hey shaynehammy ill give u a custom made code that wiil doo the trick


HTML Code:

<if condition="$show['latestthreads']">
<tbody>
        <tr>
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_latestthreads')"><img id="collapseimg_forumhome_latestthreads" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_latestthreads].gif" alt="" border="0" /></a>
                        $vbphrase[latest_threads]
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_latestthreads" style="$vbcollapse[collapseobj_forumhome_latestthreads]">
        <tr>
                <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[latest_threads]" /></td>
                <td class="alt1"><div style="overflow: auto; height: 250px;"><div class="smallfont" align="left">$threadbits</div></div></td></tr>


yea i tested this code and it works perfectly

somasimple 10-13-2006 04:23 AM

Hi All,

I'm using this mod with great success
www.somasimple.com/forums
but is there a simple way to make it work with a scroll like this one? =>
http://www.somasimple.com/forums3/

Renmiri 10-25-2006 07:17 PM

To put the last thread on all pages:

Edit the plugin Latest Threads on Forum Home (found under forumhome_complete)

1) Change the Hook Location to parse_templates

2) Find
Code:

// #################### PROCESS LATEST THREADS #######################
ABOVE it add the following
Code:

if (!function_exists("fetch_iconinfo"))
{
require_once('./includes/functions_forumlist.php');
}

3) Put the code you added to the FORUMHOME template (above) on any page you would like the latest thread added to.

Markith 10-25-2006 10:39 PM

I really like this script, is there a way to put this on an external page?

Renmiri 10-26-2006 05:38 PM

Quote:

Originally Posted by Markith
I really like this script, is there a way to put this on an external page?

I did it with RSS
http://ffproject.net/

But you may find a way to do it if you can code a bit
https://vborg.vbsupport.ru/showthread.php?t=62164

cdembek 10-29-2006 02:14 AM

I installed this hack, updated the template.. but where do you go to turn on the hack?? Or adjust the settings.. I am only looking to get the last created thread or post...

using 3.5.5

cdembek 10-29-2006 04:20 AM

I answered my own question..

didn't add it after the....

</tr>
</tbody>
</if>

works nice!!

Foxsake 10-29-2006 05:34 AM

Quote:

Originally Posted by somasimple
Hi All,

I'm using this mod with great success
www.somasimple.com/forums
but is there a simple way to make it work with a scroll like this one? =>
http://www.somasimple.com/forums3/

WOW i like that idea, how did you do that?

kafi 11-04-2006 09:04 PM

I am using this hack for quite time and I am very satisfied.

Now I have encountered that I need small solution, because I have few private forums on the webpage where I set up that they are not Active (which means they are not displayed on forumhome page). BUT they are shown within last threads...

Is there any <IF ...> solution? Thank you .-)

ICY ICE 11-10-2006 06:55 PM

Easy install and works perfectly on 3.6.2.

Thank you,

ICE

phovanxua 11-20-2006 08:30 PM

Work fine on 3.6.3

here demo : www.hatnang.com/forum.php

aveon 12-05-2006 11:45 PM

can anybody edit this order to work on all pages of the forum instead of forumhome??

Agent0 12-20-2006 11:09 AM

Hi aveon
Your question is at least easy to answer...

When scrolling back one page you could find Renmiri's posting with the following:

Quote:

To put the last thread on all pages:

Edit the plugin Latest Threads on Forum Home (found under forumhome_complete)

1) Change the Hook Location to parse_templates

2) Find

Code:
// #################### PROCESS LATEST THREADS #######################ABOVE it add the following

Code:
if (!function_exists("fetch_iconinfo"))
{
require_once('./includes/functions_forumlist.php');
}3) Put the code you added to the FORUMHOME template (above) on any page you would like the latest thread added to.

Working perfect!



But I have another problem and reading through the 29 pages of this thread didn't solve it either. Whenever I activate the plugin I can't login anymore neither to the board nor to the admincp and it says invalid username or password. So I needed to deactivate plugins over config.php to access the board again.
I can see this cool plugin in action only when I deactivate the plugin in order to access the admincp, then activate it from there and view the Forum Home Page from there.
Does someone know how to fix this?

Thank you in advance
:cry:

Nikke 01-08-2007 10:01 AM

How do I get the Latest threads to show at the place I've marked with green in the picture? I would want to display latest news there, and I think it would be a perfect solution if I just got it to work!


http://www.pokerimestari.com/kuvat/thread.jpg

Nikke 01-09-2007 01:21 PM

Shameless BUMP

thincom2000 01-25-2007 12:53 AM

Has anyone updated this yet to be done without the query?

zompus 02-01-2007 08:26 PM

Can someone help me, im trying to get the code to display as:

title
by user on date

without all the other extra crap.

How can i do this?

thincom2000 02-03-2007 10:26 PM

Edit the template: forumhome_latestthreadbit

Xplorer4x4 02-06-2007 09:52 AM

I am using the alternate version posted back here
https://vborg.vbsupport.ru/showpost....&postcount=194
but cant get the forum names to display.

I am on 3.6.4.

Xplorer4x4 02-06-2007 09:54 AM

Quote:

Originally Posted by Nikke (Post 1153459)
How do I get the Latest threads to show at the place I've marked with green in the picture? I would want to display latest news there, and I think it would be a perfect solution if I just got it to work!


http://www.pokerimestari.com/kuvat/thread.jpg

Edit the plug in hook to be global_start. The instead of editing the navbar template put the edit in the threadbit template. I cant say where at the moment as I cant test it for myself but later I can. If you need more info PM me.

EDIT: Sorry Nikkie i did not realize that was your forumhome. PM me and will look into it.

Sarthek 02-06-2007 09:29 PM

Where do you set how many latest threads are shown?

Xplorer4x4 02-07-2007 08:05 AM

Quote:

Originally Posted by Sarthek (Post 1176365)
Where do you set how many latest threads are shown?

PHP Code:

$thread['title'] = fetch_censored_text(fetch_trimmed_title(unhtmlspecialchars($thread['title']), 22)); 

Allows you to set the number of characters in the title and
PHP Code:

DESC LIMIT 5"); 

Changes the number of threads shown. Just change 5 to the number you want.

Staxed 02-08-2007 12:22 AM

ok, i'm not a coder my any means...i'm just a little 'ole designer...and for the life of me I can't get the threads to show in someplace other than the forumhome.

I'm trying to use this mod, but instead of having all the forumhome stuff...i just want to have the lastest thread titles put into a side column...i've looked at the added templates...copied what's there...and all it will do is post the sections titles..."last post by reviews views"...but doesn't put the actual info in there...

can someone possibly shed some light on how to get just the titles to show in another template other than forumhome?

Staxed 02-09-2007 07:04 PM

no one has done this? or knows how?

Chris?

thincom2000 02-10-2007 02:36 AM

You need to change the hook the plugin uses to fill the variables (by default it is forumhome_complete).

Staxed 02-11-2007 08:07 PM

Quote:

Originally Posted by thincom2000 (Post 1178878)
You need to change the hook the plugin uses to fill the variables (by default it is forumhome_complete).

there is no hook i could change it to...i'm trying to put it into a custom template...

Xplorer4x4 02-11-2007 08:27 PM

Quote:

Originally Posted by Irisfire (Post 1180144)
there is no hook i could change it to...i'm trying to put it into a custom template...

Could you elaborate on what your trying to do with it?

shaynehammy 02-12-2007 08:02 AM

Quote:

Originally Posted by aveon (Post 1094885)
hey shaynehammy ill give u a custom made code that wiil doo the trick


HTML Code:

<if condition="$show['latestthreads']">
<tbody>
        <tr>
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_latestthreads')"><img id="collapseimg_forumhome_latestthreads" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_latestthreads].gif" alt="" border="0" /></a>
                        $vbphrase[latest_threads]
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_latestthreads" style="$vbcollapse[collapseobj_forumhome_latestthreads]">
        <tr>
                <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[latest_threads]" /></td>
                <td class="alt1"><div style="overflow: auto; height: 250px;"><div class="smallfont" align="left">$threadbits</div></div></td></tr>


yea i tested this code and it works perfectly

Thanks for this. Tested the code and I maybe didnt quite explain what i was after. I want a box the size of twenty latest posts but inside a scrolling marquee that displays the last 50 posts. If a member hovers over the scrolling latest posts, it will stop. Once it gets to the bottom of the list, it starts from the beginning. Seen it on a few websites but cant remember any to show you an example.

Staxed 02-12-2007 10:36 AM

Quote:

Originally Posted by Xplorer4x4 (Post 1180162)
Could you elaborate on what your trying to do with it?

it's in my first post...a few above yours...

but basically...you know the module for vbadvanced that shows new threads...trying to get something similar in a custom template (for a left column)...by using this mod...just need to reformat the coding so it only displays the title of the mod (don't need all the other info like poster, views, etc)...i've got that part done...i just can't get it to display the information...

Xplorer4x4 02-12-2007 02:10 PM

Hmm try adding the phrase "$vbphrase[latest_threads]" to your left column. Your custom template is, i assume, is inserted into forum home in order to show on your forum index, so try leaving the hooks alone.

Staxed 02-12-2007 07:21 PM

already tried inserting that...i know how to get it to show (I'm a Designer)...issue is...it will show the titles (Posts, Views, etc) if I put them in...but the second it calls that variable it won't output anything else...and that's where i'm stuck...(I'm NOT a coder...lol)


All times are GMT. The time now is 05:34 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.01941 seconds
  • Memory Usage 1,839KB
  • 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_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (13)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
  • (40)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