View Full Version : Kind of posts
VBDev
03-30-2004, 10:00 PM
Released on : http://www.vbulletindev.net (http://www.vbulletindev.net/)
Complete description of the hack : http://www.vbulletindev.net/forums/hacks_root.php?do=aff_hack&hackid=46
Demo :
http://www.vbulletindev.net/forums/forumdisplay.php?f=27
With this hack, you manage in your admincp a complete icon's system for threads in wanted forums. You can activate the option, if it's turned on, when you create a new thread (or edit), you can select an icon which will appear nex to the thread's title in forumdisplay (and search.php)
You can use it to show whick ind of thread it is, humour, info, photos ... by creating icons you want.
Moreover of this, it adds a box in forumdisplay where you can choose according to which kind of icons you want to show threads. If you choose a category, only threads with this icon will be shown
Edit for Boofo : I can now look at your hack ;)
Bad Bunny
03-31-2004, 03:03 PM
Released on : http://www.vbulletindev.net (http://www.vbulletindev.net/)
Complete description of the hack : http://www.vbulletindev.net/forums/hacks_root.php?do=aff_hack&hackid=46
With this hack, you manage in your admincp a complete icon's system for threads in wanted forums. You can activate the option, if it's turned on, when you create a new thread (or edit), you can select an icon which will appear nex to the thread's title in forumdisplay (and search.php)
You can use it to show whick ind of thread it is, humour, info, photos ... by creating icons you want.
Moreover of this, it adds a box in forumdisplay where you can choose according to which kind of icons you want to show threads. If you choose a category, only threads with this icon will be shown
Edit for Boofo : I can now look at your hack ;)
Wow. This sounds pretty good. So where exactly does one set what kind of icons are shown? Let's say there is a forum for graphics and photos. Someone attaches a car photo, and uses the car icon I have theoretically provided. In that forum there is a dropdown menu for users to see only car photos?
VBDev
03-31-2004, 03:13 PM
You set which forums can have specific icon in the admincp (a bloc was added fot this)
You can activate the option in only 1 or 2 .. or 10 forums
Each forum has its specific icons :)
Boofo
03-31-2004, 03:17 PM
Can you make it so the icon would come BEFORE the thread title?
And thanks. I'll be looking forward to the hack we discussed. ;)
VBDev
03-31-2004, 03:18 PM
to do it boofo, in the threadbit template, just add the modification before and not after as written in the txt
lasto
03-31-2004, 03:18 PM
excellant vbdev i just enquired about this as well on your board
top one
yeah icon before post plz :) be even better
Bad Bunny
03-31-2004, 03:19 PM
You set which forums can have specific icon in the admincp (a bloc was added fot this)
You can activate the option in only 1 or 2 .. or 10 forums
Each forum has its specific icons :)
I guess I'll just have to install it on my computer to test it out.
lasto
03-31-2004, 04:03 PM
nice hack added and works :)
Boofo
03-31-2004, 04:17 PM
Now, who wants to help me make some icons for this? ;)
lasto
03-31-2004, 04:28 PM
hmm slight problem
i selected one problem and added 6 gifs for testing
everything fine
now i selected another forum - ticked it and added gifs
they dont show up - does this only work for one section only ?
cause if not then they only show in the first one u ticked
VBDev
03-31-2004, 04:55 PM
It works fine with multi forums, go and see on vbulletindev.net, installed in 'Hacks Request' and 'Demande de hacks'
Bad Bunny
03-31-2004, 05:27 PM
It works fine with multi forums, go and see on vbulletindev.net, installed in 'Hacks Request' and 'Demande de hacks'
Ah, that's pretty cool, except that there are no icons in the Hack Request forum...
VBDev
03-31-2004, 05:55 PM
I don"t understand, nobody see them
I'm the only one, I don't understand, there is no condition in templates nor in files ...
I don't understand, I look for it
Gizmo
03-31-2004, 06:15 PM
Lol, I agree, nobody see them except you :p
VBDev
03-31-2004, 07:47 PM
If you have already installed this hack, find :
$threads = $DB_site->query("
SELECT $votequery $previewfield
thread.threadid, thread.title AS threadtitle, lastpost, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach
" . iif($vboptions['threadsubscribed'] AND $bbuserinfo['userid'], ", NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed") . "
" . iif(!$deljoin, ", NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid, type_post
and replace with :
$threads = $DB_site->query("
SELECT $votequery $previewfield
thread.threadid, thread.title AS threadtitle, lastpost, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid, type_post,
lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach
" . iif($vboptions['threadsubscribed'] AND $bbuserinfo['userid'], ", NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed") . "
" . iif(!$deljoin, ", NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid,
It should now be OK, try it here :
http://www.vbulletindev.net/forums/forumdisplay.php?f=27
lasto
03-31-2004, 08:04 PM
VBdev not sure wot the above code in your post is for but your hack works fine
ive been messing with it and everything is spot on once i suzzed it :)
Bad Bunny
04-01-2004, 12:20 AM
VBdev not sure wot the above code in your post is for but your hack works fine
ive been messing with it and everything is spot on once i suzzed it :)
Looks good now. Groooooovy! Hmmmm.....Some kind of dropdown menu like the ones already in vb would be extra extra groovy as an alternative to the basic dropdown thingy.
VBDev
04-01-2004, 04:33 AM
Looks good now. Groooooovy! Hmmmm.....Some kind of dropdown menu like the ones already in vb would be extra extra groovy as an alternative to the basic dropdown thingy.
Which mean ? You mean to say that the dropdown box on the forumdisplay doesn't look like other vB dropdown list ?
gmarik
04-01-2004, 04:42 PM
Looks promissing...
Bad Bunny
04-01-2004, 06:58 PM
Which mean ? You mean to say that the dropdown box on the forumdisplay doesn't look like other vB dropdown list ?
no, it sure doesn't. Scroll up to Quick Links or Thread Tools, or even Forum Tools. You'll see that your combo box, while it works, is not in the style of vb3's fancy dropdowns.
lasto
04-02-2004, 02:49 PM
no, it sure doesn't. Scroll up to Quick Links or Thread Tools, or even Forum Tools. You'll see that your combo box, while it works, is not in the style of vb3's fancy dropdowns.
regardless if the combo box is in style of vb3 who cares - the hack does what it says so well done VBdev
* lasto clicks install
Bad Bunny
04-06-2004, 05:17 PM
regardless if the combo box is in style of vb3 who cares - the hack does what it says so well done VBdev
* lasto clicks install
My oh my. Bit touchy, aren't we? I was merely offering a suggestion so that it wouldn't look tacky. I never said the hack doesn't work. When I install and modify the template so it fits better into vb3, I'll share it (so it will save others some work).
Bad Bunny
04-12-2004, 07:18 PM
My oh my. Bit touchy, aren't we? I was merely offering a suggestion so that it wouldn't look tacky. I never said the hack doesn't work. When I install and modify the template so it fits better into vb3, I'll share it (so it will save others some work).
I went to install this, and found
et ajoutez au dessus :
------------------------------------------------------------------------------------------------
// Grog6 TYPE DE SUJETS
No idea what that means...
lasto
04-12-2004, 08:14 PM
above m8
add the code above
assassingod
04-21-2004, 07:58 PM
Grog, I installed this hack and everytime I make a new thread it duplicates it. Any suggestions? (3.0.1)
HakkieDEV
07-16-2004, 04:55 PM
Grog, I installed this hack and everytime I make a new thread it duplicates it. Any suggestions? (3.0.1)
I *think* you've placed some of the code in functions_newpost.php beneath/above the code you had to search (while it states in the install file that you have to replace).
spence2
07-27-2004, 05:35 AM
Installed perfectly (vB3.03) ... great hack ... thank you for sharing your work!
Pimpboard
11-22-2004, 08:24 AM
Why not just create a set of post icons to do this?
red_baron2000
01-09-2005, 05:56 PM
why posting a frenchy coded hack while 100% are using english can't understand.! thanks tho.
Linux
06-26-2005, 02:37 PM
Thanks for this nice hack
But ! :( I need a help to make choosing "Kind of posts" is a must. so if the user did not chose any provided kind he will get an error just like if he has forgotten writing a title in the subject field.
Thanks inadvance for the very kind person who will help me to make it work just like the way I want :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.