Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: 1.00, by Admin (Coder) Admin is offline
Developer Last Online: Nov 2024 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-23-2002 Last Update: Never Installs: 183
 
No support by the author.

IMPORTANT: If you are using v2.2.3 and up please read this thread!
https://vborg.vbsupport.ru/showthrea...threadid=35894


This is more of a visual change, but still requires hacking the files.
All it does is make the look of [code], [php] and [quote] codes better (IMO), instead of the ugly lines which are used right now.

Demo:
https://vborg.vbsupport.ru/showthrea...2985&styleid=4
https://vborg.vbsupport.ru/showthrea...2985&styleid=1

Everything you need is in the text file, have fun.

Show Your Support

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

Comments
  #182  
Old 03-26-2003, 01:47 AM
Swamper Swamper is offline
 
Join Date: Oct 2001
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem lies in that initial { at the start of the new replacement variables...

Just follow the original instructions but when you see



remove the { - replace it with:

codefontcolor}
codebackground}

respectively.

Works fine on 2.3.0
Reply With Quote
  #183  
Old 03-26-2003, 07:01 AM
uomoragno uomoragno is offline
 
Join Date: Mar 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
remove the { - replace it with:

codefontcolor}
codebackground}
the colors don't take effect.
Reply With Quote
  #184  
Old 03-26-2003, 02:51 PM
Swamper Swamper is offline
 
Join Date: Oct 2001
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 04:01 AM uomoragno said this in Post #182


the colors don't take effect.

You have to change it for every step along the way - I did it and it works, just open the original instructions and use search/replace in a text editor.....
Reply With Quote
  #185  
Old 03-31-2003, 02:56 AM
jibious's Avatar
jibious jibious is offline
 
Join Date: Nov 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im really only interested in the [quote] portion of this. however, i don't want the text being forced to another color if the person's text color is custom set (such as light blue).

would what i need to do be this:

Code:
<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td>
<smallfont><b>quote:</b></smallfont></td></tr><tr><td style="BORDER: #000000 1px solid; FONT-SIZE: 11px;
FONT-FAMILY: Verdana,Arial; BACKGROUND-COLOR: { codebackground };">{param}</td></tr></table>
basically just removing the COLOR statement from the td style...?
Reply With Quote
  #186  
Old 03-31-2003, 03:37 AM
jibious's Avatar
jibious jibious is offline
 
Join Date: Nov 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nm, answered my own question when curiosity got the best of me and i just went ahead and tried it out. works fine.
Reply With Quote
  #187  
Old 04-07-2003, 12:31 AM
cyc cyc is offline
 
Join Date: Nov 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, although i'm having one problem, I get the following error when ever someone quotes a message:
Code:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /web/domain.com/path/newreply.php(47) : eval()'d code on line 1
Any ideas would be appreciated
Reply With Quote
  #188  
Old 04-26-2003, 11:28 AM
cyc cyc is offline
 
Join Date: Nov 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?

This hack works fine on my second and third template, but nor my default one.

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /web/www.cyclingforums.com/html/newreply.php(47) : eval()'d code on line 1
Reply With Quote
  #189  
Old 05-25-2003, 10:18 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So is there a way to get this wo work with 2.2.9 without removing the { in front of the variables? I am trying to add this to the admincp and I can't right now...
Reply With Quote
  #190  
Old 06-16-2003, 12:37 AM
Andrus Andrus is offline
 
Join Date: Dec 2001
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a problem with 2.30. I am hacking this into two new boards at once, and with both boards when I reply with quote to a thread, it quotes the sample text for the custom vb code "This is a quote", rather than the actual post. At first I thought I made a mistake hacking it in, but I double checked everything and it is doing it on both boards.

Any ideas?
Reply With Quote
  #191  
Old 08-08-2003, 03:23 AM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello i just want the php of this hack and if possible the code part to it
the reason is that i got this template edit from VbulletinTemplates
and i am not sure if it will conflict
if i run the query
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 03:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07648 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
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_code
  • (2)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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