PDA

View Full Version : Thread Cosmetics V1.0


paul41598
11-17-2006, 10:00 PM
Thread Cosmetics V1.0

Inspired by own my idea months ago (https://vborg.vbsupport.ru/showthread.php?t=122298&highlight=cosmetics):

You Must Have Vbplaza (https://vborg.vbsupport.ru/showthread.php?t=106953&highlight=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
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:

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
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 (https://vborg.vbsupport.ru/showthread.php?t=132125)

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


<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.visibil ity='visible';
}
function showCosmetic2() {
document.getElementById('purchDiv2').style.display ='block';
document.getElementById('purchDiv1').style.display ='none';
document.getElementById('purchDiv2').style.visibil ity='visible';
}
// -->
</script>


this should make it work in any browser.

arena
01-25-2007, 02:22 AM
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