Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Latest Threads On Forum Home Details »»
Latest Threads On Forum Home
Version: 1.00, by NTLDR (Coder) NTLDR is offline
Developer Last Online: Oct 2004 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-20-2004 Last Update: Never Installs: 170
 
No support by the author.

Latest Threads On Forum Home
Version: 1.0.2
vB-version: 3.0.0 Release Candidate 2
Developer: NTLDR
Install-difficulty: 1
File-edits: 2
Template-edits: 1

Description of the Hack:
This is taken from my vBindex hack and will display the latest X threads on your forum home page. Permissions are done automatically so forums users can't view will be excluded. Includes thread icon/goto new post image (if the thread is unread), title, last post info, number of views and replies.



Files modified for this Hack:
index.php


New templates for this Hack:
forumhome_latestthreadbit


Templates modified for this Hack:
FORUMHOME

New phrases for this Hack:
latest_threads

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 01-25-2004, 10:18 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only way you'll get parse errors is if you cut and paste the code wrong, make sure it appears exactly as its shown onscreen
Reply With Quote
  #53  
Old 01-25-2004, 10:24 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NTLDR
The only way you'll get parse errors is if you cut and paste the code wrong, make sure it appears exactly as its shown onscreen
hey, you can release the HTL version now, NTLDR!
Reply With Quote
  #54  
Old 01-25-2004, 10:59 PM
SuperG SuperG is offline
 
Join Date: Dec 2001
Location: Cookeville, TN
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1.) Included global.php in my non-vb root page.

2.) Add the templates in global.php under where the comment says "// templates to be included in every single page..."

3.) I added the code per your instructions about "// ### ALL DONE! SPIT OUT THE HTML AND LET'S GET OUTA HERE... ###"

4.) I added what I was suppose to add on FORUMHOME to my non-vb page.

5.) I created the template.

6.) I created the phrase.

Now, I upload, and I can't get past the
Code:
Fatal error: Call to undefined function: fetch_iconinfo() in /home/paintbal/public_html/forums/global.php on line 524

I'm not really sure what I'm doing (because I'm not all that familiar with what I'm trying to do here), so newb instructions would be awesome.

Sorry for the inconvenience, and THANKS for the help!!!

Matthew
Reply With Quote
  #55  
Old 01-26-2004, 10:39 AM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Posting the exact error allways helps

Above the code your adding from this hack put the following line:

PHP Code:
require_once('./includes/functions_forumlist.php'); 
Reply With Quote
  #56  
Old 01-26-2004, 10:57 AM
MischiefThought MischiefThought is offline
 
Join Date: Aug 2003
Location: Toronto, Ontario
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do i do the last step? *Feels really stupid*

Create a new phrase called latest_threads in the GLOBAL group with the following content:

Im still new to vb3, lol. Please bare with me!
Reply With Quote
  #57  
Old 01-26-2004, 11:05 AM
MischiefThought MischiefThought is offline
 
Join Date: Aug 2003
Location: Toronto, Ontario
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Figured it out! hehe
Reply With Quote
  #58  
Old 01-26-2004, 01:18 PM
M.C. M.C. is offline
 
Join Date: Jan 2002
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NTLDR, back to our sheeps.... look what heppend then (see attaches). When I just coming in it shows me like i post it before (i move attach in that post for skip skrolling )... then, when i start visit new threads they jump in right place, but unvisited still stay in wrong (second tumb.), and finaly, when i visit last new thread evrething on right place, so... i think that is NOT browser bug and i think it happend only when i have just few new threads and there is new and all threads together in list.... any ideas?
Reply With Quote
  #59  
Old 01-26-2004, 01:37 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have changed the forumhome_latestthreadbit from the default one in the zip can you post its contents here in [html] tags as well as the code you have in the FORUMHOME template that you added for it and I'll look into it.
Reply With Quote
  #60  
Old 01-26-2004, 02:02 PM
M.C. M.C. is offline
 
Join Date: Jan 2002
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think i find mistake... it`s mine :devious: ... when i was changin table i removed left column, but in forumhome_latestthreadbit i fogrot on </td>
sorry for worrying... Good Luck!
Reply With Quote
  #61  
Old 01-26-2004, 10:17 PM
SuperG SuperG is offline
 
Join Date: Dec 2001
Location: Cookeville, TN
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I add that right under global.php, and its having the same error.
Reply With Quote
Reply


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 03:11 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07890 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (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_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete