vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   New code, PHP and quote boxes! (https://vborg.vbsupport.ru/showthread.php?t=35382)

Sandron 05-16-2002 09:46 AM

@hellsatan
I would suggest, you forgot the } at the end of your code.

FleaBag 05-16-2002 11:47 PM

Installed on 2.2.5 without any problems. Good work! :)

geniuscrew 05-17-2002 12:54 AM

I just installed it but get this error

[PHP]
Parse error: parse error in /home/charmed/public_html/forums/admin/functions.php on line 2311

Fatal error: Call to undefined function: vbdate() in /home/charmed/public_html/forums/admin/sessions.php on line 356
[PHP]

geniuscrew 05-17-2002 01:34 AM

nm i fixed it :)

FleaBag 05-17-2002 09:26 AM

FireFly, did you ever work out how to do the box colours as the alternative post background colours?

rascal 05-17-2002 08:59 PM

Just wanted to give up on this hack till I saw the fix for the variable. It works great. Thanks Firefly!

Ryan McBain 05-21-2002 03:50 AM

ok im confused in the hack it says....

+-------------------------------------------------------------------------------------------------+
| Now run this SQL query through phpMyAdmin or Telnet/SSH |
+-------------------------------------------------------------------------------------------------+
ALTER TABLE bbcode CHANGE bbcodereplacement bbcodereplacement TEXT;
+---------------------------------------------
----------------------------------------------------+

What the hell does that mean? what am i suppose to do?

Sandron 05-21-2002 07:30 AM

This question was already asked here
You have to run this query in your database.

Ryan McBain 05-21-2002 05:05 PM

Quote:

Originally posted by Mr. X
Go into phpmyadmin if you have it, click on the database where you wanna perform the command, then copy that query into a box, and hit go.

I would put up a shot but my server is having probs at the moment so I cant go into phpmyadmin.

I dont know what the Telnet command would be though.

where is the phpmyadmin?

sorry but im new to this hacking thing

Ryan McBain 05-22-2002 01:02 AM

????

Ian 05-22-2002 01:04 AM

Quote:

Originally posted by Ryan McBain


where is the phpmyadmin?

sorry but im new to this hacking thing

You need to download and install it... http://www.phpmyadmin.net/ is the link to get it. I suggest installing the newest stable release, not a beta one.

Ryan McBain 05-22-2002 01:09 AM

Quote:

Originally posted by Ian

You need to download and install it... http://www.phpmyadmin.net/ is the link to get it. I suggest installing the newest stable release, not a beta one.

ok i downloaded it and know im more confused, i thought it was just one file but its a bunch of files. what do i do with all of them and where do i put them?

Ryan McBain 05-22-2002 06:34 AM

????

Admin 05-22-2002 06:41 AM

Please don't bump your post after merely 5 hours.

[sql]See the link above ^^[/sql]

freakyshiat 05-23-2002 02:31 AM

Quote:

Quote:

Originally posted by X-Fan


Very, very, very cool hack FireFly! Looks great on my forums! Thanks!


test

Cloughie 05-29-2002 09:47 PM

I just found a bug.

If you make a quote yourself (not using the reply with quote feature then when you quote the post it doesn't show?

just to test it

Quote:

test

Cloughie 05-29-2002 09:48 PM

Quote:

Originally posted by Cloughie
I just found a bug.

If you make a quote yourself (not using the reply with quote feature then when you quote the post it doesn't show?

just to test it


test

Cloughie 05-29-2002 09:48 PM

see i just quoted my post and the test quote did not come up?

Admin 05-30-2002 09:40 AM

It's how vBulletin works.

Remove this line from newreply.php and nested quotes will not be stripped:
Code:

    $pagetext = preg_replace("/(\[quote])(.*)(\[\/quote])/siU", "", $pagetext);

lilturkmaster 06-03-2002 03:46 AM

Hey FireFly I installed the hack and everything just fine, read through this thread to make any need changes to get it how I wanted it, but the php box still stays the same, can you plz help me?

wastegate 06-07-2002 10:56 AM

Hi Guys, first great hack. Works perfect! For Windows users but some of my Mac members are saying they are having a problem with the bgcolour of the quote box..
I noticed it was mentioned alittle back in the thread but no reponce about it..

Here is the screenshot.

http://www.bc.tc/forums.jpg

Admin 06-07-2002 12:51 PM

SS is broken and I don't know anything about Macs, sorry.

wastegate 06-07-2002 02:44 PM

thanks.. anyone else?

FleaBag 06-19-2002 09:59 PM

Installed on 2.2.6, thanks! :)

Bugz 07-02-2002 12:13 AM

i tryed making anouther replacement for the border but it wouldnt work :-\

if somone knows how to do this can you help me out

Heineken77 07-16-2002 06:11 PM

OH What a beatuiful hack!!

Thank you VERY much :D

Cheers!
Heineken

Ian 07-25-2002 06:32 PM

What's the original code? I'm trying to uninstall this hack,

WillyK 08-03-2002 06:56 AM

installing =)

nemesis01 08-03-2002 07:49 AM

Installed on test board, works fine except I am having the same problem some other members are, that is I dont know how to alternate the background colours of the quote boxes on each post to fit the current style they are being used in.

This is the only thing stopping me from using them on my main forums. :bunny:

Boofo 08-10-2002 11:28 AM

I am having major problem with the PHP and CODE boxes now. For the last few days it seems to want to double space everything over a few lines and if I do any length of code (say, more than 10 or 15 lines) in a private message, it gives me a Fatal Error Timeout after 30 seconds in functions.php. Can anyone please help me figure out what is going on?

zootsuit 08-11-2002 06:24 AM

I LOVE this hack...I just have a question as to the syntax...

Everytime someone quotes something with " " in it, it converts it to this:

PHP Code:

&quot

(before and after)

Any ideas as to it's source? :)

Kars10 08-11-2002 07:52 AM

This rocks!!
Thankx FireFly!! :)

FlyingDutchman 08-14-2002 05:27 PM

i get this error msg on the top of the new thread page:

Code:

Warning: ini_get() has been disabled for security reasons in functions.php on line 2073

Warning: ini_get() has been disabled for security reasons in newthread.php on line 376


Admin 08-15-2002 06:42 PM

Ask your host to enable ini_get().

Diva 08-18-2002 10:38 PM

Hi FireFly! I LOVE this hack!!!! Is there a way to only quote the last reply? Instead multiple boxes? Like the hack for the PMs...

Boofo 08-18-2002 11:25 PM

Try putting this:

[disable]$pagetext = preg_replace("/(\[quote])(.*)(\[\/quote])/siU", "", $pagetext);[/disable]

above this:

Code:

eval("\$message = \"".gettemplate("quotereply",1,0)."\";");
in the newreply.php. Let me know if it works. ;)

Quote:

Originally posted by Diva
Hi FireFly! I LOVE this hack!!!! Is there a way to only quote the last reply? Instead multiple boxes? Like the hack for the PMs...

Diva 08-19-2002 04:25 AM

Yay! Thanks bunches, Boofo. Check it out!!!!

Boofo 08-19-2002 04:53 AM

LOL Great! Although I'm sure there are those that would argue with your statement in the message. ;)

Quote:

Originally posted by Diva
Yay! Thanks bunches, Boofo. Check it out!!!!

kikosho 08-28-2002 08:45 AM

To Firefly (or anyone that can help)

I was able to install the hack succesfully, but now I am getting repeats of the "quote" and the code version of "quote", respectively.

I ran the queries and all, can you tell me how to undue this snafu so that only the quote box shows up and not the old style of "quote" (posted underneath the quote box).

Here's a thread that illustrates what I am trying to describe. thanks in advance... any help would be really appreciated!!!! :)

http://www.the-nextlevel.com/board/s...&threadid=8182

zootsuit 08-28-2002 08:50 AM

Quote:

Originally posted by zootsuit
I LOVE this hack...I just have a question as to the syntax...

Everytime someone quotes something with " " in it, it converts it to this:

PHP Code:

&quot

(before and after)

Any ideas as to it's source? :)

Anyone? :(


All times are GMT. The time now is 12:33 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.02714 seconds
  • Memory Usage 1,815KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete