Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 10-13-2011, 08:16 PM
Dj Smuggla Dj Smuggla is offline
 
Join Date: Sep 2009
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Rename newthread.php

If i was to rename the newthread.php file to something else, will i only have to edit the 'New Thread' button in the forumdisplay template?

Will everything still work, or is there another template i need to edit?
Reply With Quote
  #2  
Old 10-13-2011, 09:00 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Naturally you would have to edit EVERYTHING that calls or uses newthread.php, a lot of work!, whats your thinking behind doing that?
Reply With Quote
  #3  
Old 10-13-2011, 09:09 PM
Dj Smuggla Dj Smuggla is offline
 
Join Date: Sep 2009
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's to stop spam bots from posting, i dont want to add captcha.

I can only think of the 'New Thread' button in the forumdisplay template, any other edits i need to do.
Reply With Quote
  #4  
Old 10-13-2011, 09:18 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess you've searched all phrases and templates, right? Searching the php code, it looks like the only place "newthread.php" appears is in includes/function_online.php, and I think that's only for the message that says what a user is doing, so you may or may not care about that. I can't guarantee that there isn't somewhere that the name is put together by pasting ".php" on the end of a variable or something like that. But I think, like you said, as long as the button works you're probably OK.
Reply With Quote
  #5  
Old 10-13-2011, 10:11 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dj Smuggla View Post
It's to stop spam bots from posting, i dont want to add captcha.

I can only think of the 'New Thread' button in the forumdisplay template, any other edits i need to do.
Haven't you implemented any anti-bot measures? are guests allowed to post? what amkes you think that the link for the button won't be crawled sooner or later and posting begins again? if your sites insecure posts can be made via a script which would use datamanager and doesn't use that file.

It would be best for you to actually use some sort of guarding, maybe even make new registrations only able to post in one forum where all posts are moderated, then use the promotion system for all users who have 1 post or more to get moved to the next usergroup who can post anywhere (with permissions you set), that way when they post in the one moderated forum their post count will remain zero until admin or mods moderate the post and accept it, then their post count is one and when the permissions cron runs they'll be promoted and can post

That way you haven't added any mods, not added captcha or human verification (which IMHO you should use) and are still protecting your forums
Reply With Quote
  #6  
Old 10-14-2011, 01:24 PM
Dj Smuggla Dj Smuggla is offline
 
Join Date: Sep 2009
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks guys for your replys.

@ Simon, I have done this: 'make new registrations only able to post in one forum' & added stopforumspam mod, that stops all the viagra spam

Theres also a lot of members that use a multi poster to post their threads to a lot of sites with one click, so im trying to block them aswell. Im pritty shore they've been coded to use newthread.php to post, so thats why i want to rename the file name.
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:42 AM.


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.06266 seconds
  • Memory Usage 2,197KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete