vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Thread Cosmetics V1.0 (https://vborg.vbsupport.ru/showthread.php?t=131913)

paul41598 11-17-2006 10:00 PM

Thread Cosmetics V1.0
 
Thread Cosmetics V1.0

Inspired by own my idea months ago:

You Must Have Vbplaza installed else this hack WILL NOT WORK It uses the tables/columns from this hack.

Description:

Thread Cosmetics is what it says. The ability to colorize, bold, italics, underline your thread, but from within the thread manage rather than using vbplaza and points!

Vbplaza / Why?:

Well, why not? If the hack is already there with the correct tables/columns why not take advantage of it? Besides, it was the only way I knew how to code the hack. So MAKE sure you have Vbplaza, else major errors! :)

Inspiration / Why?:

I guess I've always wanted to be able to colorize, bold, etc my thread, and its like 4-5 extra steps to do it through vbplaza. Why not have it along with the thread tools? This is why I struggled to create this hack.


Support:

There will be limited support for this hack. I will try my best, but I'm still waay to new to coding and if its beyond me, I might not be able to help.

I have tested this hack on 3.6.1, works great. However:

Use At Your Own risk Please click INSTALL

ronoxQ 11-18-2006 10:18 PM

First post. ^_^

Does this hack still charge users vBux? If not, that would be an excellent improvement: this is much more streamlined than vB Plaza's shop menu.

paul41598 11-18-2006 10:34 PM

no, its actually only for administrators. It doesnt use any points, just allows admins to colorize a thread, bold, etc easier. Its integrated with the admin thread manage...thats all.

Of course I'm sure it could possible be adopted to regular users..

TTG 11-19-2006 01:02 AM

Doesn't work with 3.6.3 in firefox 2 and the options seem to be there in IE but no changes are made to the thread !?

paul41598 11-19-2006 01:12 AM

Yes, I think as of now, this hack only works in I.E even with my testing. Not sure about the changes being made to the thread. You have vbplaza installed right? I might need to test on 3.6.3

TTG 11-19-2006 01:31 AM

Quote:

Originally Posted by paul41598 (Post 1120419)
You have vbplaza installed right? I might need to test on 3.6.3

I have vbux 1.5.8 which does work in some areas .. points are allocated for posts etc but the lottery doesn't work and if I want to delete a new thread / post, I receive a database error .. I have to disable vbux and then I can delete .. Grrrr

Hopefully the new version 2 will be out soon.

Would love to see this Thread Cosmetics working on 3.6.3

maxicep 11-19-2006 05:56 AM

take an error:

Quote:

Database error in vBulletin 3.6.2:

Invalid SQL:

UPDATE thread
SET
vbp_titletextcolor = ''
WHERE threadid = '33584';

MySQL Error : Unknown column 'vbp_titletextcolor' in 'field list'
Error Number : 1054
Date : Sunday, November 19th 2006 @ 07:55:28 AM
Script : ./postings.php?t=33584&pollid=
Referrer : ./showthread.php?t=33584
IP Address : .
Username : .
Classname : vb_database

memomemo 11-19-2006 06:48 AM

Hello

This problem hack

Unknown column 'vbp_titletextcolor' in 'field list'
Error Number : 1054
Date : Sunday, November 19th 2006 @ 12:46:30 AM

Snake 11-19-2006 07:14 AM

Thanks!

paul41598 11-19-2006 01:25 PM

The only thing I can say about those of you who are getting SQL errors involving "vbp_titletextcolor" either A.) You dont have vbplaza installed. or B.) It's named something else in your database for whatever reason.

I suggest you use phpmyadmin, click over to the thread table and find out what column name its using...

memomemo 11-20-2006 07:18 AM

Quote:

Originally Posted by paul41598 (Post 1120759)
The only thing I can say about those of you who are getting SQL errors involving "vbp_titletextcolor" either A.) You dont have vbplaza installed. or B.) It's named something else in your database for whatever reason.

I suggest you use phpmyadmin, click over to the thread table and find out what column name its using...


Hello
I have new table create on phpmyadmin ?
Table name "vbp_titletextcolor"
Column neme = ?

Thank you

paul41598 11-20-2006 09:45 AM

no no, the column name is called "vbp_titletextcolor" and it can be found in the thread table

thepub 11-20-2006 12:54 PM

saving this to install soon! Thank you very much!

Gryphon 11-20-2006 10:42 PM

You can make Vbplaza a required dependency in the product.

SouthernTn 11-20-2006 10:50 PM

Would be nice if this could be done for 3.6.X without having to need vBPlaza aswell :) .. nice hack

Hornstar 11-21-2006 05:32 AM

Looks good, im sure this could also be expended as well.

paul41598 11-21-2006 06:32 PM

New search tool available here

HolyKiller 12-22-2006 05:02 PM

This hack are NICE, but i don't want install vBplaza through this hack.

So, my question is: Exists some hack for colorize/stylize thread title only?

Thanx a lot for the answer

Holy

Kungfu 01-24-2007 08:53 PM

good idea but bad javascript coding.

the javascript should be

Code:

<script language="javascript">
<!-- Hide from older browsers
function hideAll() {
 document.getElementById('purchDiv1').style.display='none';
 document.getElementById('purchDiv2').style.display='none';
}

function showCosmetic1() {
 document.getElementById('purchDiv1').style.display='block';
 document.getElementById('purchDiv2').style.display='none';
 document.getElementById('purchDiv1').style.visibility='visible';
}
function showCosmetic2() {
 document.getElementById('purchDiv2').style.display='block';
 document.getElementById('purchDiv1').style.display='none';
 document.getElementById('purchDiv2').style.visibility='visible';
}
// -->
</script>

this should make it work in any browser.

arena 01-25-2007 02:22 AM

Code:


Database error in vBulletin 3.6.4:
Invalid SQL:
  UPDATE thread
  SET
  vbp_titledisplayflags = '2'
  WHERE threadid = '34793';
MySQL Error  : Unknown column 'vbp_titledisplayflags' in 'field list'
Error Number : 1054
Date        : Thursday, January 25th 2007 @ 06:20:46 AM
Script      : http://www.xxxxx.com/postings.php?t=34793&pollid=
Referrer    : http://www.xxxxx.com/showthread.php?p=153958#post153958
IP Address  : xxxxxxxxxx
Username    : xxxxxxx
Classname    : vb_database

Problem help plase?

Kungfu 01-25-2007 02:55 AM

my guess is you dont have vbplaza installed.

rjmjr69 04-03-2007 04:52 AM

Works just fine in 3.6.5 heavily modified templates with Plaza/bux Arcade everything installed smoothly and all options seem to work just as described. Heading to install your search option. I would imagine that is use able only by the admins as well right?

Great mod this is awesome thank you very much

audis3 04-03-2007 05:02 AM

How do i import vbplaza to my board?
Will this work in 3.6.5 version?

rjmjr69 05-17-2007 09:38 PM

This is not working with 3.6.6 getting lots of errors

Parse error: parse error, unexpected $ in /homepages/14/d191751648/htdocs/forums/postings.php on line 228


All times are GMT. The time now is 05:37 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.01182 seconds
  • Memory Usage 1,765KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)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