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)

MRGTB 09-11-2006 07:04 PM

what files did you edit, it looks like the only changes you've made are to the latestthreadbit. Is that right?

Because I can just replace that template with your code to test it if that's all you've changed, rather than uploading the changed code as a plug-in

MRGTB 09-11-2006 07:40 PM

No it did what I thought it would do after looking at your code changes, it put each item in it's own seperate column sideways and looked a right mess. You went along the same lines as me in your thinking. But it doesn't work that way I'm afraid. You just finish up with either more columns than you want, or the threads repeat each other if you try the same method using the $threadbit and more alts in the forumhome box code.

Ninth Dimension 09-11-2006 07:46 PM

Well, it's a bit hard to work on building what you want remotly like this... I gave it a shot, but i guess I failed... oh well, sorry.... I'm sure you'll be able to work out what you need to do.. good luck.

MRGTB 09-11-2006 07:57 PM

Not to worry, it no big deal. I'll play around in the future with it. As I'm busy working on another ed2k hack I have installed right now.

aveon 09-11-2006 09:13 PM

is there any way to show it on header instead of only on forum home i asked that question couple of time now any body can help me??

MRGTB 09-11-2006 09:25 PM

Quote:

Originally Posted by aveon
is there any way to show it on header instead of only on forum home??

you could just put the box in the header, instead of the FORUMHOME template, but I'm not sure if that would work, as I think without trying it, it needs to be in the FORUMHOME template to grab the information. But you can try it.

It's only a case of putting the box that displays the threads in the header instead of the FORUMHOME.

aveon 09-11-2006 10:34 PM

Quote:

Originally Posted by Gary Bolton
you could just put the box in the header, instead of the FORUMHOME template, but I'm not sure if that would work, as I think without trying it, it needs to be in the FORUMHOME template to grab the information. But you can try it.

It's only a case of putting the box that displays the threads in the header instead of the FORUMHOME.

it doesntwork that way it needs a modification but i need help on this

MRGTB 09-12-2006 01:09 AM

the answer to your question is in this thread, When I ran vBulletin 3 and installed her hack (which this is based off) I had it working on an external page, as well as my forumhome. You have to add some code I think to either global.php or another file. The answer is somewhere on the first 15-20 pages of this thread.

https://vborg.vbsupport.ru/showthrea...latest+threads

aveon 09-12-2006 02:08 AM

hello gary i tried that but when i tried to edit the index php it gives me error when i upload back to db so is there anyother way to do this ill be really apparitiated

MRGTB 09-12-2006 02:21 AM

Well there are two things in that thread you has to get right. one was this.

@SuperG: Put the code just above the following in global.php so its run on everypage and you could be able to add the $threadbits variable in any of the templates:

Code:

// parse some global templates
If vB use that variable on any page then you'll need to change this line:

Code:

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

And replace $threadbits with something unique like $my_latest_threads for example and change the variable in the template accordingly.

try that, becuase you might have missed the bit were the guy got an error like you and had to add another line to the code I've highlighted in red.


All times are GMT. The time now is 10:30 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.01441 seconds
  • Memory Usage 1,740KB
  • 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_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