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
Denied Symbol In a new thread Details »»
Denied Symbol In a new thread
Version: 1.0.1, by iSpanish iSpanish is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 05-20-2005 Last Update: 05-22-2005 Installs: 4
 
No support by the author.

Hi there
This is my Second hack


As requested here

What does this hack do?
In the new thread page it checks if the subject have a denied symbol or not. If the user enter any symbol from this + = _ # $ ^ * will get a message telling user to change the desired thread title.

Updated on 22/5/2005
Thanks to Aurous for fixing the error ( extra ";") on the denied_threadtitle.php file.

for update just replace includes/denied_threadtitle.php with the new one from attachment.

install this hack?
just upload 1 file to includes folder.
Edit functions_newpost.php file.
That's all.

1.
Open includes/functions_newpost.php
Find:

PHP Code:
$post['title'] = trim(preg_replace('/&#0*32;/'' '$post['title'])); 
Below add:

PHP Code:
 // # Denied symbol from new thread[strat]
    
require('denied_threadtitle.php');
 
// # Denied symbol from new thread[end] 
Save & uplaod includes/functions_newpost.php

2.
Upload denied_threadtitle.php (from attachment) to includes file.



Demo:
Look to the screenshot.

Please don't forget to click install

Show Your Support

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

Comments
  #12  
Old 05-23-2005, 05:50 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I said that I removed extra ; but problem still exists
Reply With Quote
  #13  
Old 05-23-2005, 05:53 PM
iSpanish's Avatar
iSpanish iSpanish is offline
 
Join Date: Jan 2005
Location: Oregon
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel
I said that I removed extra ; but problem still exists
can i see what the error message you got it?
Reply With Quote
  #14  
Old 05-23-2005, 06:05 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

accent on "e"

Originally Posted by Lionel
développe

this causes this message

Sorry, but you cannot use [^] in your Thread Title.

I aleady removed the extra ';'
Reply With Quote
  #15  
Old 05-23-2005, 06:33 PM
iSpanish's Avatar
iSpanish iSpanish is offline
 
Join Date: Jan 2005
Location: Oregon
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel
accent on "e"

Originally Posted by Lionel
d?veloppe

this causes this message

Sorry, but you cannot use [^] in your Thread Title.

I aleady removed the extra ';'
hi
Sorry for that

i fix it now

please do the update
replace denied_threadtitle.php with the new one from up thare.
Reply With Quote
  #16  
Old 05-23-2005, 06:37 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks. About the register one? is it safe?
Reply With Quote
  #17  
Old 05-23-2005, 06:52 PM
iSpanish's Avatar
iSpanish iSpanish is offline
 
Join Date: Jan 2005
Location: Oregon
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel
thanks. About the register one? is it safe?


sure is safe (Denied Symbol FromRegister Hack)

i do too many tests.


Please don't forget to click install If you Installed it.
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 10:50 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.11309 seconds
  • Memory Usage 2,265KB
  • Queries Executed 21 (?)
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
  • (2)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
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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