vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Rename newthread.php (https://vborg.vbsupport.ru/showthread.php?t=271991)

Dj Smuggla 10-13-2011 08:16 PM

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?

Simon Lloyd 10-13-2011 09:00 PM

Naturally you would have to edit EVERYTHING that calls or uses newthread.php, a lot of work!, whats your thinking behind doing that?

Dj Smuggla 10-13-2011 09:09 PM

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.

kh99 10-13-2011 09:18 PM

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.

Simon Lloyd 10-13-2011 10:11 PM

Quote:

Originally Posted by Dj Smuggla (Post 2256922)
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 :)

Dj Smuggla 10-14-2011 01:24 PM

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.


All times are GMT. The time now is 12:59 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.01403 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete