Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Closed Thread
 
Thread Tools
Details »»

Version: , by tubedogg tubedogg is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-09-2001 Last Update: Never Installs: 0
 
No support by the author.

Withdrawn cause it's in the next version.

Show Your Support

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

Comments
  #2  
Old 09-10-2001, 03:36 PM
usbnuts
Guest
 
Posts: n/a
Default

Hi, the hack doesn't seem to work.

I'm confused when I have to make changes to misc.php
You said I have to add $threadratingoption right above $attachmentoption.

So, I looked around and added $threadratingoption inside the newreply template.

PHP Code:
</tr>
$threadratingoption
$attachmentoption
</table
Which misc.php are you talking about here?
/forums/misc.php or /forums/admin/misc.php

Also, where can I find newreply_threadrate template? You didn't provide instructions on how to create this template.

Thanks for helping!
  #3  
Old 09-10-2001, 03:39 PM
BradC
Guest
 
Posts: n/a
Default

probably just

/forums/misc.php

cause the admin one should have different functions used mainly or only in the admin folder.
  #4  
Old 09-10-2001, 09:10 PM
VirtueTech VirtueTech is offline
 
Join Date: Oct 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great idea!

I feel that not enough people use the current thread rating system because it doesn't stand out enough.
  #5  
Old 09-11-2001, 02:29 AM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by usbnuts
I'm confused when I have to make changes to misc.php
You said I have to add $threadratingoption right above $attachmentoption.
There was a little mess up in the install file...it's now fixed. Sorry for the confusion. That should actually go in the newreply template - one place it said misc.php, the other place it said newreply template.

Quote:
Which misc.php are you talking about here?
/forums/misc.php or /forums/admin/misc.php
root/misc.php, which would be the misc.php in your main vB folder.

Quote:
Also, where can I find newreply_threadrate template? You didn't provide instructions on how to create this template.
This should be automatically created when you install. If you go to Templates > Modify and look under Custom Templates you should see one named newreply_threadreate.
  #6  
Old 09-11-2001, 04:00 AM
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
Location: Vancouver (whistler.2010)
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't quite get the full idea of this hack, you wouldnt happen to have a demo, or be able to snap a screenshot for me could ya tubedogg?
  #7  
Old 09-11-2001, 04:25 AM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screen added to the first post.
  #8  
Old 09-11-2001, 04:43 AM
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
Location: Vancouver (whistler.2010)
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

spanks tubebogg, I shall install it now
  #9  
Old 09-11-2001, 04:50 AM
VirtueTech VirtueTech is offline
 
Join Date: Oct 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There still seems to be install problems with this.

The new template you add is called: newreply_ratethread

But your code calls to: newreply_threadrating

It also added the template into templatesetID of 10. My default templatesetID is 1...I'm not sure if mine is different than anyone elses.

I changed the code around to adjust for the template name but it still does not give the option to rate the thread in the reply yet.

Also...Misc.php is no longer included in the instructions. I;m not sure if it is supposed to be but I saw in the posts above talk about it.

Any ideas?
  #10  
Old 09-11-2001, 04:56 AM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lessee here...

1. You are correct. It should call newreply_ratethread since the template is named that.

2. The templatesetid was messed up cause I never changed it back after testing. Run this query:
UPDATE template SET templatesetid=1 WHERE title='newreply_ratethread'

3. misc.php shouldn't be part of anything. I realized that after I took it out of the file.

I've uploaded an updated install file. Sorry about the problems.
Closed Thread

Thread Tools

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:58 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.04157 seconds
  • Memory Usage 2,278KB
  • Queries Executed 23 (?)
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_php
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (8)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