Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-13-2001, 01:26 AM
TurboFC3S TurboFC3S is offline
 
Join Date: Nov 2001
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I know this has been posted ... but I've been searching for the last half hour trying to find a hack to do like SitePoint has. I want to have a button next to each forum/subforum that will let you post a new thread in that forum. Also have a button next to each thread that will let you post a new reply inside that thread.

I would also like to have the feature like UBB 6+ has where it not only shows the time and username of the last post made, but also the title of the last post and a clickable link to the thread.

I would appreciate a link to where I can find how to do these hacks.

Thanks
Reply With Quote
  #2  
Old 09-13-2001, 03:01 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

These are simple template changes.

For a New Thread button next to each forum, add this link:
Code:
<a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{imagesfolder}/newthread.gif" border="0"></a>
to your forumdisplay_forumbit_levelX_post and forumhome_forumbit_levelX_post templates.

For a Reply button next to each thread, add this link:
Code:
<a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$thread[threadid]"><img src="{imagesfolder}/reply.gif" border="0"></a>
to your forumdisplaybit template.

And about the last post thing, it's already there.
Reply With Quote
  #3  
Old 09-14-2001, 01:55 AM
TurboFC3S TurboFC3S is offline
 
Join Date: Nov 2001
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks man ... I've been messing with it all night trying to get it to line up like Sitepoints do, but I can't get it right. Here's what it looks like. www.rx7club.com/vorums/index.php

I know I need to put a nested table in the Thread column and have it be a 2x2 table, with the bottom two colums merged. then put the Forum name in the top left, new thread button in the top right aligned to the right, and the forum description in the bottom .. but I can't get it to work.

And what do you mean it's already there? Mine doesn't put the last thread name with a clickable link to it.
Reply With Quote
  #4  
Old 09-14-2001, 02:23 AM
TurboFC3S TurboFC3S is offline
 
Join Date: Nov 2001
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, I might be getting it figured out after all ... I got the individual threads looking good. Too bad it's time for bed now
Reply With Quote
  #5  
Old 09-14-2001, 10:42 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just look at the source code of the SitePoint site, and see how they did it.
Reply With Quote
  #6  
Old 09-14-2001, 01:53 PM
TurboFC3S TurboFC3S is offline
 
Join Date: Nov 2001
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did, and it helped ... sure would be nice if he would turn on the show template option for a few seconds

I got it really close, but I can't figure out where that extra <td> is coming from.
Reply With Quote
  #7  
Old 09-14-2001, 02:55 PM
TurboFC3S TurboFC3S is offline
 
Join Date: Nov 2001
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, got it working right ... whew!

Now what do you mean that feature to show the last thread name and link to it is already there? I have 2.0.3 and mine doesn't have that? Nor do any of the other forums I see.
Reply With Quote
  #8  
Old 09-14-2001, 04:43 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go here:
http://www.vbulletin.com/forum/membe...fo&userid=5598

Can't you see the "Last Post:" part?
Reply With Quote
  #9  
Old 09-14-2001, 05:17 PM
TurboFC3S TurboFC3S is offline
 
Join Date: Nov 2001
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahhh, you misunderstood me. Let me explain again - on the front page of the forum, where you have the forum list - UBB shows not only the time and poster in the Last Post column, but it also has the title of the last post in that forum as a link. I've seen a vB forum with that, wish I would have bookmarked it to show you what I mean.
Reply With Quote
  #10  
Old 09-14-2001, 05:22 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahhh I see.

Look here:
http://www.vbulletin.com/forum/showt...threadid=23302
and
http://www.vbulletin.com/forum/showt...threadid=22881
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 04:12 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.04673 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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