Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

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

Hello,

Im in my admin trying to make my own special vB code and what it spits out to the forum is messed up. Everytime there is a period "." or a QuestionMark "?" or a parenthese "(" and ")" it sticks a backslash in front of it.

This is what I was doing ...

Code to replace:
[decopop]

Code to insert:
Quote:
&quot;<B><A HREF="#" onClick="window.open('popups/drdeco.html','decopop1','WIDTH=300,HEIGHT=250,scro llbars=yes,LEFT=100,TOP=200,screenX=100,screenY=20 0');return false" onMouseOver="window.status='Who is Dr Deco'; return true" onMouseOut="window.status=' ' ;return true" style="font-family:arial; text-decoration: none;">Who is Dr. Deco?</A></B>&quot;
But this is what it prints to the browser:
Quote:
"Who is Dr\. Deco\?"
And this is the Actual code it prints when I view the source:
Quote:
"<B><A HREF="#" onClick="window\.open\('popups/drdeco\.html','decopop1','WIDTH=300,HEIGHT=250,scr ollbars=yes,LEFT=100,TOP=200,screenX=100,screenY=2 00'\);return false" onMouseOver="window\.status='Who is Dr Deco'; return true" onMouseOut="window\.status=' ' ;return true" style="font-family:arial; text-decoration: none;"><A HREF="#" onClick="window\.open\('popups/drdeco\.html','decopop1','WIDTH=300,HEIGHT=250,scr ollbars=yes,LEFT=100,TOP=200,screenX=100,screenY=2 00'\);return false" onMouseOver="window\.status='Who is Dr Deco'; return true" onMouseOut="window\.status=' ' ;return true" Ttyle="font-family:arial; text-decoration: none;">Who is Dr\. Deco\?</A></B>"
Notice all the backslashes before the periods, parenthese and question marks. Is there a way to hack this to make it stop doing this? Im trying to make my own Special tag for a signature for a Quest Speaker in my forum.

Here is the URL to the page on my forum where you can see the results:


Can someone tell me what is going on and how or if it can be made to work?

Thanks

=-)

Show Your Support

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

Comments
  #2  
Old 09-24-2000, 12:40 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by ExtremeFactor
Here is the URL to the page on my forum where you can see the results:


Can someone tell me what is going on and how or if it can be made to work?

Thanks

=-)

Here is the URL to the other post where you posted this question.

-jim
Reply With Quote
  #3  
Old 09-24-2000, 02:00 AM
Guest
 
Posts: n/a
Default

JimF,

I don't follow your post. Does that mean you don't know?
Reply With Quote
  #4  
Old 09-24-2000, 03:37 AM
Guest
 
Posts: n/a
Default

I think he's saying that you shouldn't post the same question twice on two different forums...cross-posting is a no-no.
Reply With Quote
  #5  
Old 09-26-2000, 04:23 AM
Guest
 
Posts: n/a
Default

If you look at the time stamps you will see that I made the other post first, then I got a few emails almost right away asking me to further explain because they had something similiar and 1 of them (a moderator here, but I wont say names since it seems people are more inclined to complain than actually help) suggested I move the this line of questions to the "HACKS" forum since the "questions" forum may have not been the best place for it as more "coders" might look here. So I reposted my question here and then went back and edited the other question to make it the exact same as here since I couldnt actually delete the post there or actually MOVE it to here. That would have been a Moderators job.

Then, after all of that I get a reply to this post with something that could only be understood as rude and not helpful at all. I did as the other moderatorsugested and I move the questions to this category and he must have obviously known what he was talking about as not a single person has replied to the other post. Unfortunately there hasnt been anything helpful to this one either. People are more than willing to jump in when you do something for them like release a hack but when the shoe is on the other foot we only get critisism? ... And here I thought that by following what I was told and then making the other the same as this one to be more clear I was doing the right thing.
Reply With Quote
  #6  
Old 09-26-2000, 12:41 PM
Guest
 
Posts: n/a
Default

There was no way to know this - the moderator should have moved the post...personally I would have mentioned this in my second post to avoid such things.

No big deal though...I don't really care either way - hehe.



[Edited by TWTCommish on 09-26-2000 at 09:44 AM]
Reply With Quote
  #7  
Old 09-28-2000, 12:07 PM
Guest
 
Posts: n/a
Default

So can anyone help me with this problem?

=-)
Reply With Quote
  #8  
Old 09-28-2000, 03:44 PM
Guest
 
Posts: n/a
Default

Most likely your problem has to do with Special Characters, Magic_Quotes and the Addslashes function in PHP...

Do a search on those things in the forum and you will find your answer. I personally can't explain it better at this time though.
Reply With Quote
  #9  
Old 09-28-2000, 03:57 PM
Guest
 
Posts: n/a
Default

Hello wluke,

Is there a way to get around this? Meaning, is there a way for me to do what it is I am trying to do?

=-)
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:44 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.03882 seconds
  • Memory Usage 2,256KB
  • Queries Executed 22 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)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
  • 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