View Full Version : User Comment System
filburt1
04-12-2003, 10:00 PM
This hack allows users to leave comments about users. It is integrated into the admin CP options and is configurable via the normal permissions system (by default, mods/smods/admins can delete user comments).
filburt1
04-13-2003, 04:48 PM
Admin CP options:
filburt1
04-13-2003, 04:48 PM
New setting in permissions:
filburt1
04-13-2003, 04:50 PM
getinfo:
Filburt as I said you are a god!
/me clicks install and goes to install it
filburt1
04-13-2003, 04:51 PM
Comments page:
filburt1
04-13-2003, 04:52 PM
And finally, leaving a comment:
filburt1
04-13-2003, 04:55 PM
Today at 01:44 PM Oricon said this in Post #5 (https://vborg.vbsupport.ru/showthread.php?postid=381536#post381536)
Filburt as I said you are a god!
* Oricon clicks install and goes to install it
Redo step 3, I forgot to add a link to post comments if the user already has one comment.
Xelation
04-13-2003, 05:14 PM
YES! Thank so much! :D Gonna install it in a few minutes.. I'll let you know how it goes.
Xelation
04-13-2003, 05:18 PM
when I ran install_usercomment.php I got this error when it tried to run the 3rd query.. what could be wrong?
Database error in vBulletin Control Panel 2.3.0:
Invalid SQL: ALTER TABLE "usergroup" ADD "candeleteusercomments"
SMALLINT(6) DEFAULT 0 NOT NULL
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"usergroup" ADD "candeleteusercomments"
SMALLINT(6) DEF
mysql error number: 1064
Date: Sunday 13th of April 2003 02:11:37 PM
Script: http://www.texeo.com/web/web/admin/install_usercomment.php?action=go&addsettings=1&runextraqueries=1&styleid=1
Referer: http://www.texeo.com/web/admin/install_usercomment.php
Black Vivi
04-13-2003, 05:23 PM
* Black Vivi clicks install, but not gonna install it later.
I'll prob redesign it alot aswell, but looks k00l;):D
Craigr
04-13-2003, 05:25 PM
Thanks, looks great.
Craig
filburt1
04-13-2003, 05:29 PM
Today at 02:12 PM Xelation said this in Post #10 (https://vborg.vbsupport.ru/showthread.php?postid=381554#post381554)
when I ran install_usercomment.php I got this error when it tried to run the 3rd query.. what could be wrong?
Database error in vBulletin Control Panel 2.3.0:
Invalid SQL: ALTER TABLE "usergroup" ADD "candeleteusercomments"
SMALLINT(6) DEFAULT 0 NOT NULL
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"usergroup" ADD "candeleteusercomments"
SMALLINT(6) DEF
mysql error number: 1064
Date: Sunday 13th of April 2003 02:11:37 PM
Script: http://www.texeo.com/web/web/admin/install_usercomment.php?action=go&addsettings=1&runextraqueries=1&styleid=1
Referer: http://www.texeo.com/web/admin/install_usercomment.php
Anybody else getting this?
Either way I updated the script with a query straight from PMA. Run this query:
DROP TABLE usercomment;
Then re-run the install script.
Zelda-King
04-13-2003, 05:30 PM
This doesn't like me. I'm stumped on step one of running the installation script. :/
Database error in vBulletin Control Panel 2.3.0:
Invalid SQL: ALTER TABLE "usergroup" ADD "candeleteusercomments"
SMALLINT(6) DEFAULT 0 NOT NULL
mysql error: You have an error in your SQL syntax near '"usergroup" ADD "candeleteusercomments"
SMALLINT(6) DEFAULT 0 NOT NULL' at line 1
mysql error number: 1064
Date: Sunday 13th of April 2003 12:22:56 PM
Script: http://www.gamercrossfire.net/bb/bb/admin/install_usercomment.php?action=go&addsettings=1&runextraqueries=1&styleid=4
Referer: http://www.gamercrossfire.net/bb/admin/install_usercomment.php
filburt1
04-13-2003, 05:30 PM
See my post above.
Xelation
04-13-2003, 05:31 PM
I ran that query and now I get this error
----------------------------------------------------------
Database texeoco_web running on localhost
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
ERROR: Unclosed quote @ 22
STR: '
SQL: DROP TABLE usercomment'
Error
SQL-query :
DROP TABLE usercomment'
MySQL said:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1
Back
filburt1
04-13-2003, 05:31 PM
I edited my post one second after you copied that query :p, look again.
Xelation
04-13-2003, 05:33 PM
ok, I dropped it and reinstalled it.. same error
bharvey42
04-13-2003, 05:34 PM
Hey filburt,
Would it be possible to allow groups the ability to only comment on users in the same group?
Would it be possible to enable the user of having there comments be viewed by only themselves and admins?
Zelda-King
04-13-2003, 05:35 PM
Gah! I HAD seen that post. I just didn't recognise it was the same error (and I downloaded just after seeing that. I assumed I had the updated version)! :-[
Craigr
04-13-2003, 05:40 PM
Today at 07:27 PM Xelation said this in Post #18 (https://vborg.vbsupport.ru/showthread.php?postid=381566#post381566)
ok, I dropped it and reinstalled it.. same error
Same here. I get this error:
Database error in vBulletin Control Panel 2.2.9:
Invalid SQL: ALTER TABLE "usergroup" ADD "candeleteusercomments"
SMALLINT(6) DEFAULT 0 NOT NULL
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"usergroup" ADD "candeleteusercomments"
SMALLINT(6) DEF
mysql error number: 1064
Date: Sunday 13th of April 2003 02:32:24 PM
Script: http://www.steven-seagal.net/forum/forum/admin/install_usercomment.php?action=go&addsettings=1&runextraqueries=1&styleid=1
Referer: http://www.steven-seagal.net/forum/admin/install_usercomment.php
Craig
filburt1
04-13-2003, 05:54 PM
Try again.
Xelation
04-13-2003, 05:59 PM
Running extra queries...
Running extra query 1 of 3...
query: CREATE TABLE usercomment (
usercommentid int(10) unsigned NOT NULL auto_increment,
byuserid int(10) unsigned NOT NULL default '0',
aboutuserid int(10) unsigned NOT NULL default '0',
comment text NOT NULL,
PRIMARY KEY (usercommentid)
) TYPE=MyISAM
Running extra query 2 of 3...
query: ALTER TABLE "usergroup" ADD "candeleteusercomments"
SMALLINT(6) DEFAULT 0 NOT NULL
There seems to have been a slight problem with the Death Raiders database.
Please try again by pressing the refresh button in your browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
We apologise for any inconvenience.
Database error in vBulletin Control Panel 2.3.0:
Invalid SQL: ALTER TABLE "usergroup" ADD "candeleteusercomments"
SMALLINT(6) DEFAULT 0 NOT NULL
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"usergroup" ADD "candeleteusercomments"
SMALLINT(6) DEF
mysql error number: 1064
Date: Sunday 13th of April 2003 02:53:03 PM
Script: http://www.texeo.com/web/web/admin/install_usercomment.php?action=go&showqueries=1&addsettings=1&runextraqueries=1&styleid=1
Referer: http://www.texeo.com/web/admin/install_usercomment.php
Craigr
04-13-2003, 06:00 PM
Works great now.
Thanks
Craig
Xelation
04-13-2003, 06:00 PM
craigr.. what did you do?
Zelda-King
04-13-2003, 06:02 PM
It works better now. Just clear out your cache and redownload, etc.
Xelation
04-13-2003, 06:05 PM
thx zelda... worked :)
Zelda-King
04-13-2003, 06:16 PM
I've installed. Works great so far! :)
Craigr
04-13-2003, 06:16 PM
To leave comments about yourself remove this from commentaboutuser.php
if ($aboutuserid == $bbuserinfo['userid'])
{
eval("standarderror(\"" . gettemplate("error_cantcommentaboutself") .
"\");");
}
You can also remove the template.
Works for me.
Craig
Xelation
04-13-2003, 06:18 PM
Not saying you have to create all these features but they would be nice to have....
[list=1] Let yourself comment on yourself (incase people may want to ask questions and such then you can reply).
Time posted
give me a code to put their avatar somewhere in comment.
Other buttons like on the postbit (email, profile, etc).
Show most recent comment on the profile page (such as a simple value like $recentcomment). Have an extra template for this so we can customize the look of it
Have a reply button on the actual comment page[/list=1]
Craigr
04-13-2003, 06:21 PM
Today at 08:12 PM Xelation said this in Post #30 (https://vborg.vbsupport.ru/showthread.php?postid=381593#post381593)
Not saying you have to create all these features but they would be nice to have....
[list=1]
Let yourself comment on yourself (incase people may want to ask questions and such then you can reply).
Time posted
give me a code to put their avatar somewhere in comment.
Other buttons like on the postbit (email, profile, etc).
Show most recent comment on the profile page (such as a simple value like $recentcomment).
Have a reply button on the actual comment page
[/list=1]
Most of these will probably be quite easy to do. I will have a tinker around with it myself.
You can leave a comment on yourself by doing what i stated above.
Craig
Xelation
04-13-2003, 06:41 PM
Kool, I hope you can do it :)
thx :D this is realy usefull :D
we got a kinda "coment the persone who posted b4 you" forum game and this wi'll be nice :D
iggy123
04-13-2003, 06:58 PM
I have installled this hack and everything appears to be fine apart from i don't see the links on the getinfo panel - i have double checked the info in installed correctly but when i click on the username there is no link there.
I have deleted my cashe etc but still can't see anything - any ideas?
Ok figured it out - thnx excellent hack - now they can call me names all they want....
Xelation
04-13-2003, 07:02 PM
well if you have a customized profile... it might not allow you to see it if you put it in the wrong part of the html code.. just find $header and put this below it..
<center><br><a href="viewusercomments.php?s=$session[sessionhash]&aboutuserid=$userid">View</a>/<a href="commentaboutuser.php?s=$session[sessionhash]&aboutuserid=$userid">Post</a> Comments</center>
and it should be centered right at the top of the profile page. then you can see if it works from their and customize it later
Works perfect guys on a 2.3.0 install...... anyone know a way so it can put like the last 3 or so comments in the getinfo?
Xelation
04-13-2003, 07:14 PM
im wondering the same oricon... I was it so you can set the options in the admin cp.. put
$recentcomments somewhere in the getinfo template and have it link to a template where you can customize the look of the comments....
then in vbulletinoptions you can set how many recent comments you want to show up in the getinfo... if I knew php I would do this but I dont... so oh well
I also would like a quick reply if possible... I know im asking for a lot here but its only to make a kick ass hack! :D
Xelation
04-13-2003, 07:53 PM
Here's another option I would like to see...
after x comments show next page
Intex
04-13-2003, 07:54 PM
Nice1 filburt1. Yet another cool hack.
* Intex added to install list :cool:.
Kurayami
04-13-2003, 08:01 PM
*Whaps Install* Thank you! I've been waiting quite a while for something like this. :)
kaotic
04-13-2003, 08:38 PM
I was looking for this exact hack yesterday when I saw FFR's getinfo template. This is great. I'll install this ASAP.
colicab-d
04-13-2003, 10:36 PM
i got it working in about 2 seconds 2.2.9 approved :D thnx filburt
Velocd
04-13-2003, 11:59 PM
Nice hack, I'll have to look into it.
filburt1
04-14-2003, 12:00 AM
Today at 07:30 PM colicab-d said this in Post #42 (https://vborg.vbsupport.ru/showthread.php?postid=381708#post381708)
i got it working in about 2 seconds 2.2.9 approved :D thnx filburt
* filburt1 pats self on back
My install script rocks, only takes a few seconds to modify to make it work for a completely different hack. :)
Koutaru
04-14-2003, 12:25 AM
Thank you so much!! ^_^ Excellent hack!
PiotrasG
04-14-2003, 12:28 AM
i would be great if you could leave more than a 1 comment for the user
Xelation
04-14-2003, 12:49 AM
Today at 09:22 PM PiotrasG said this in Post #46 (https://vborg.vbsupport.ru/showthread.php?postid=381745#post381745)
i would be great if you could leave more than a 1 comment for the user
go to vbulletin options.. then you can change it to multiple posts
PiotrasG
04-14-2003, 01:05 AM
duh didnt think to look there nice hack
Dean C
04-14-2003, 09:44 AM
*drops jaw*
Idea that would make Mist install this hack:
- on vb options allow a list of usergroups who can view comments, make comments instead of having to turn it off for each usergroup
- miSt
Zelda-King
04-14-2003, 03:27 PM
Anyone I don't want to be able to post comments can't view profiles anyway so I'm sorted. That's just me though.
Neopiper
04-15-2003, 12:23 AM
is there a way to let the comment span to pages? because if someone have 50 people comment on him, it would be very long :(
Zelda-King
04-15-2003, 04:08 PM
I think users should be allowed to edit/delete their own comments.
Areku
04-15-2003, 04:53 PM
Could you make it so only people with n posts would be able to post comments about another user? And make that n be the same number of posts required to have a personalized avatar? ;)
Alien
04-18-2003, 11:39 PM
I'd like to see that multi-page span added to this before I install. :)
Alien
04-19-2003, 12:32 AM
This is awesome, I'm going to go install this now into my AS v3 site I'm working on... I'll deal with the page span thing for now..
...and I'd love to see the last x amount of comments in the getinfo too, if you can swing it! :D
Thanks!
-Jason
filburt1
04-19-2003, 12:33 AM
I released a paid version of this hack that has some extra features (including getinfo changes) but I don't plan on adding pagination (it's much harder than it looks).
Alien
04-19-2003, 12:34 AM
Hmm, if I tossed you a few bucks would that help motivate ya? ;)
...and how much for the paid version, or where can I get it?
-Jason
filburt1
04-19-2003, 12:36 AM
The link for my paid hacks is in my sig, or http://www.webdesignforums.net/forsale.php if you have sigs off.
Sorry but I still don't plan on adding pagination. I'm focusing most of my effort on my massive webmail hack.
Alien
04-19-2003, 12:40 AM
Btw, "skater boy smilie" completely rocks. ;)
-Jason
Alien
04-19-2003, 01:03 AM
Oh one thing.. Will you be updating this to function with vb 3.0 once that's final? I'd hate to lose all my comments that I accumulate over the next several months before vb3 is final...
-Jason
Neopiper
04-20-2003, 01:47 AM
i added pagination, it works great,thx filburt
http://www.animeonline.net/forums/viewusercomments.php?aboutuserid=75
http://ewdi.animeonline.net
test account :
candycgiz/candycgiz
Xelation
04-20-2003, 02:15 AM
Yesterday at 08:36 PM filburt1 said this in Post #58 (https://vborg.vbsupport.ru/showthread.php?postid=383974#post383974)
The link for my paid hacks is in my sig, or http://www.webdesignforums.net/forsale.php if you have sigs off.
Sorry but I still don't plan on adding pagination. I'm focusing most of my effort on my massive webmail hack.
haha thats great filburt... I pay you $25 to make me a "custom" comments hack and then you go and resell which was for me in the first place... I really couldnt care about that.. but you charged me $25 and are charging others $20... give me a break and it was supposed to be for me in the first place.
filburt1
04-20-2003, 02:16 AM
I charged that much because essentially you first contracted me out to write a new hack.
Xelation
04-20-2003, 02:18 AM
Today at 10:16 PM filburt1 said this in Post #63 (https://vborg.vbsupport.ru/showthread.php?postid=384452#post384452)
I charged that much because essentially you first contracted me out to write a new hack.
Still, why should I be charged $25 and everyone else charged $20
filburt1
04-20-2003, 02:22 AM
Check your e-mail.
Xelation
04-20-2003, 02:24 AM
Thanks :)
Dean C
04-20-2003, 10:48 AM
Ok please keep this discussion in emails too ;)
Neopiper - if you could release your version with pagination that would be great :D!
- miSt
filburt1
04-20-2003, 07:22 PM
A template.
Dean C
04-20-2003, 08:09 PM
A template found in the 'User Info Display' template group :)
Alien
04-21-2003, 02:23 AM
This hack was great, thanks so much filburt1! :D
Alien
04-21-2003, 02:24 AM
Neopiper: I'd love to add the pagination feature you've added, would you be willing to share the code with us? Thanks. :)
-Jason
LangTuDaTinh
04-21-2003, 05:17 AM
thanks filburt1 for all ur help and hacks
here is a sample
http://tvseriesfans.com/forums/viewusercomments.php?aboutuserid=952&goto=latest
I don't personally use this hack, since i've designed my own user comments system, but i decided to help out. Upload the file below and add $pages somewhere in your "usercomments" template and you'll have pagination.
Rake. :)
Dean C
04-22-2003, 09:09 AM
That is very kind of you rake :)
- miSt
Jacko
04-24-2003, 10:14 AM
anyway of including this in a users profile as well as seperate pages??
filburt1
04-24-2003, 11:13 AM
It's in my paid version.
Jacko
04-24-2003, 11:43 AM
and when will this be released? (cant wait!)
filburt1
04-24-2003, 01:24 PM
It has been for a while; see my sig (or http://www.webdesignforums.net/forsale.php if you have sigs off).
Bison
04-24-2003, 04:20 PM
Good one filburt ... this hack will come in handy!
Jacko
05-04-2003, 08:28 PM
got any images of it filburt?? then i can buy it :)
filburt1
05-04-2003, 08:33 PM
I'd rather not post it publicly but for future reference:
Boofo
05-04-2003, 09:23 PM
04-21-03 at 04:36 PM rake said this in Post #73 (https://vborg.vbsupport.ru/showthread.php?postid=385282#post385282)
I don't personally use this hack, since i've designed my own user comments system, but i decided to help out. Upload the file below and add $pages somewhere in your "usercomments" template and you'll have pagination.
Rake. :)
rake, how is yours different from this one? I'd be interested in seeing it.
SemperFidelis
05-06-2003, 11:36 AM
Hmmm
Great idea for a hack filburt1
Thanks.
:)
Just one thing, has anyone been able to sucessfully add a new group since adding this hack ?
Below is what I am now getting
Database error in vBulletin Control Panel 2.3.0:
Invalid SQL: INSERT INTO usergroup (candeleteusercomments, usergroupid,title,usertitle,cancontrolpanel,canmod ifyprofile,canviewmembers,canview,showgroup,cansea rch,canemail,canpostnew,canmove,canopenclose,cande letethread,canreplyown,canreplyothers,canviewother s,caneditpost,candeletepost,canusepm,canpostpoll,c anvote,canpostattachment,ismoderator,canpubliceven t,canpublicedit,canthreadrate,cantrackpm,candenypm receipts,maxbuddypm,maxforwardpm,canwhosonline,can whosonlineip,cangetattachment)
VALUES (NULL,'Banned by Warnings','',0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ,0,0,0,0,0,0,0,1,1,0,0,0)
mysql error: Column count doesn't match value count at row 1
mysql error number: 1136
Date: Tuesday 06th of May 2003 07:57:10 PM
Script: http://localhost/rnas/rnas/admin/usergroup.php
Referer: http://localhost/rnas/admin/usergroup.php?action=add&s=
filburt1
05-06-2003, 01:31 PM
That's a known bug; easy to fix but I don't have the time.
Jacko
05-06-2003, 01:52 PM
will you have time for the payed version if i get it cause everything but the known bug is making me buy it.
filburt1
05-06-2003, 01:54 PM
I believe this is fixed in the paid version (it definitely is in my webmail hack which uses the same concept), checking now.
filburt1
05-06-2003, 01:57 PM
Yes, it's fixed in that version.
(to those who want to fix it in the meantime, just update the VALUES part of the INSERT query to add $candeleteusercomments).
SemperFidelis
05-06-2003, 02:50 PM
Today at 03:57 PM filburt1 said this in Post #87 (https://vborg.vbsupport.ru/showthread.php?postid=392229#post392229)
Yes, it's fixed in that version.
(to those who want to fix it in the meantime, just update the VALUES part of the INSERT query to add $candeleteusercomments).
Huh ?
* SemperFidelis pleads stupid
drumsy
05-07-2003, 09:48 PM
Yesterday at 11:50 AM v-net said this in Post #88 (https://vborg.vbsupport.ru/showthread.php?postid=392259#post392259)
Huh ?
* v-net pleads stupid
Find:
VALUES (NULL,'".addslashes($title)."','".addslashes($usertitle)."'
Replace with:
VALUES ($candeleteusercomments,NULL,'".addslashes($title)."','".addslashes($usertitle)."'
SemperFidelis
05-08-2003, 03:18 AM
Ok
Thanks for that drumsy
But if Ive done what you have suggested correctly, it hasnt worked.
Here is the code in usergroup.php
$DB_site->query("INSERT INTO usergroup (candeleteusercomments, usergroupid,title,usertitle,cancontrolpanel,canmod ifyprofile,canviewmembers,canview,showgroup,cansea rch,canemail,canpostnew,canmove,canopenclose,cande letethread,canreplyown,canreplyothers,canviewother s,caneditpost,candeletepost,canusepm,canpostpoll,c anvote,canpostattachment,ismoderator,cancalendar,c anpublicevent,canpublicedit,canthreadrate,cantrack pm,candenypmreceipts,maxbuddypm,maxforwardpm,canwh osonline,canwhosonlineip,cangetattachment)
VALUES ($candeleteusercomments,NULL,'".addslashes($title)."','".addslashes($usertitle)."',$cancontrolpanel,$canmodifyprofile,$canviewmembe rs,$canview,$showgroup,$cansearch,$canemail,$canpo stnew,$canmove,$canopenclose,$candeletethread,$can replyown,$canreplyothers,$canviewothers,$caneditpo st,$candeletepost,$canusepm,$canpostpoll,$canvote, $canpostattachment,$ismoderator,$canpublicevent,$c anpublicedit,$canthreadrate,$cantrackpm,$candenypm receipts,$maxbuddypm,$maxforwardpm,$canwhosonline, $canwhosonlineip,$cangetattachment)");
And here is the error Im now getting :
Database error in vBulletin Control Panel 2.3.0:
Invalid SQL: INSERT INTO usergroup (candeleteusercomments, usergroupid,title,usertitle,cancontrolpanel,canmod ifyprofile,canviewmembers,canview,showgroup,cansea rch,canemail,canpostnew,canmove,canopenclose,cande letethread,canreplyown,canreplyothers,canviewother s,caneditpost,candeletepost,canusepm,canpostpoll,c anvote,canpostattachment,ismoderator,cancalendar,c anpublicevent,canpublicedit,canthreadrate,cantrack pm,candenypmreceipts,maxbuddypm,maxforwardpm,canwh osonline,canwhosonlineip,cangetattachment)
VALUES (1,NULL,'Testing Group','Im A Test User !',0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1 ,1,0,0,0,1,0,1)
mysql error: Column count doesn't match value count at row 1
mysql error number: 1136
Date: Thursday 08th of May 2003 12:13:55 PM
Script: http://localhost/rnas/rnas/admin/usergroup.php
Have I messed up or does something else need to be done ?
Boofo
05-08-2003, 03:24 AM
Change this:
$DB_site->query("INSERT INTO usergroup (candeleteusercomments, usergroupid,title,usertitle,cancontrolpanel,canmod ifyprofile,canviewmembers,canview,showgroup,cansea rch,canemail,canpostnew,canmove,canopenclose,cande letethread,canreplyown,canreplyothers,canviewother s,caneditpost,candeletepost,canusepm,canpostpoll,c anvote,canpostattachment,ismoderator,cancalendar,c anpublicevent,canpublicedit,canthreadrate,cantrack pm,candenypmreceipts,maxbuddypm,maxforwardpm,canwh osonline,canwhosonlineip,cangetattachment)
VALUES ($candeleteusercomments,NULL,'".addslashes($title)."','".addslashes($usertitle)."',$cancontrolpanel,$canmodifyprofile,$canviewmembe rs,$canview,$showgroup,$cansearch,$canemail,$canpo stnew,$canmove,$canopenclose,$candeletethread,$can replyown,$canreplyothers,$canviewothers,$caneditpo st,$candeletepost,$canusepm,$canpostpoll,$canvote, $canpostattachment,$ismoderator,$canpublicevent,$c anpublicedit,$canthreadrate,$cantrackpm,$candenypm receipts,$maxbuddypm,$maxforwardpm,$canwhosonline, $canwhosonlineip,$cangetattachment)");
To this:
$DB_site->query("INSERT INTO usergroup (candeleteusercomments, usergroupid,title,usertitle,cancontrolpanel,canmod ifyprofile,canviewmembers,canview,showgroup,cansea rch,canemail,canpostnew,canmove,canopenclose,cande letethread,canreplyown,canreplyothers,canviewother s,caneditpost,candeletepost,canusepm,canpostpoll,c anvote,canpostattachment,ismoderator,cancalendar,c anpublicevent,canpublicedit,canthreadrate,cantrack pm,candenypmreceipts,maxbuddypm,maxforwardpm,canwh osonline,canwhosonlineip,cangetattachment)
VALUES ($candeleteusercomments,NULL,'".addslashes($title)."','".addslashes($usertitle)."',$cancontrolpanel,$canmodifyprofile,$canviewmembe rs,$canview,$showgroup,$cansearch,$canemail,$canpo stnew,$canmove,$canopenclose,$candeletethread,$can replyown,$canreplyothers,$canviewothers,$caneditpo st,$candeletepost,$canusepm,$canpostpoll,$canvote, $canpostattachment,$ismoderator,$cancalendar,$canp ublicevent,$canpublicedit,$canthreadrate,$cantrack pm,$candenypmreceipts,$maxbuddypm,$maxforwardpm,$c anwhosonline,$canwhosonlineip,$cangetattachment)");
You forgot the $cancalendar
SemperFidelis
05-08-2003, 10:38 AM
Outstanding.
All is working fine now.
Thankyou very much Boofo.
:)
04-13-03 at 03:21 PM Craigr said this in Post #31 (https://vborg.vbsupport.ru/showthread.php?postid=381596#post381596)
Most of these will probably be quite easy to do. I will have a tinker around with it myself.
You can leave a comment on yourself by doing what i stated above.
Craig
clicks install...
Craig, have you done any of these yet?
SinisterX
05-27-2003, 04:19 AM
ok maybei 'm stupid but where is step 3. 3. In getinfo, find:
where is this getinfo file? :(
Boofo
05-27-2003, 04:32 AM
getinfo is a template.
filburt1
06-01-2003, 01:14 PM
As I've said numerous times, this is included in the advanced version of this hack which I do not publicly release.
Chris M
06-01-2003, 04:07 PM
Nice mr filby:)
Satan
Now if I had the money filbie was asking for.... I'd be a happy man and buy it.
/me hates being broke
groovesalad
06-02-2003, 06:21 PM
Is there anyway to add a "View Comments" in the postbit?
just make a normal link from the postbit to the comments.... the same code in the getinfo should work to do that
Can you modify this to meet this:
I am building a clan hack and want a commenting/chat feature on each clan page. So is it possible to integrade it to that page so people can chat on the clan page?
SaintDog
06-03-2003, 06:46 AM
Not that everyone else has not already said it, but great hack, it is installed at SpyderWire and will serve as a great tool. I usually don't add hacks, but 2.3.0 sounds and is stable, so I hope it will remain that way :).
DaveRobbo
07-23-2003, 02:37 PM
How about a notification system so that a user gets (say) a PM when someone adds a comment?
FleaBag
10-17-2003, 12:21 AM
Is there a way this can be enabled so only admin specified users can have user comments?
Also, I can't get your paid hacks page to load.
filburt1
10-17-2003, 10:32 AM
Also, I can't get your paid hacks page to load.
A DDoS attack on another server on my host's network caused the whole network to go down yesterday. It should be fine now.
FleaBag
10-23-2003, 01:33 PM
As I asked before, can you tell me how I can modify this so only usergroups or specific users I denote can use the comments system?
Logitech-2004
11-17-2003, 09:33 PM
wheres the getinfo ????
Logitech-2004
11-17-2003, 09:50 PM
it's not showing up in post.... only 1 option showed up in the admin panel, allow multi comments
Logitech-2004
11-17-2003, 10:06 PM
n/m got it working, still no 2nd option in admin panel!
i put mine on the postbits, quicker to find :)
Logitech-2004
11-17-2003, 10:19 PM
Lookie :)
Kaelon
01-30-2004, 05:02 AM
Installed and working under vBulletin 2.3.2. Very nicely done.
Tips to people thinking about installing this: be sure to pick up the modified viewusercomments.php for built-in pagination. The usergroup bug which was mentioned earlier -- and whose fix is already included in this thread -- also needs to be fixed. Just refer to the notes on Page 7 for the fix to admin/usergroup.php
Crank
02-22-2004, 10:10 PM
what about having a setting for only mods/admins being able to make and view comments
ChrisBaktis
03-06-2004, 05:23 AM
just make a normal link from the postbit to the comments.... the same code in the getinfo should work to do that
This HACK works great on my 2.3.4 version but I tried adding the code from getinfo to the postbit template4 to get feedback link on ths posts but I get errors
Invalid user specified. If you followed a valid link, please notify the webmaster
I used this code which I copied from getinfo
Most Recent <a href="viewusercomments.php?s=$session[sessionhash]&aboutuserid=$userid">Comments about $userinfo[username]</a>
Can someone help me with what im missing?
Kaelon
03-10-2004, 01:40 AM
ChrisBaktis -- your $userid needs to be $userinfo[userid] =)
Crank -- You can easily do this with Logician's Template Conditionals hack.
any chance of a vb3 version ?
gcallman
09-16-2005, 09:48 PM
Hi
I ?m working on a site for an international non-profit organization. The online community will be key, and so we?re looking at various ways to incorporate member to member feedback into the site. Before beginning this research, we planned a hack that we thought might do the trick. It?s outlined below. However, we would like to ask if you all think that other, existing hacks-like this one- might be equally/more functional. Anyway here was our idea:
First, one would create a forum exclusively for positive feedback.
The hack would then:
1) Create a new thread for each user upon registration. The thread could be named after the user in some standard format. (amykhar already did this, it seems: https://vborg.vbsupport.ru/showthread.php?t=91887&highlight=feedback Would her hack work as part of this scheme?)
2) Paste the URL for that user?s feedback thread directly into his/her signature, perhaps just after ?Feedback at:?
We thought this might be a very elegant way to incorporate feedback into VB, as the forum?s features would very functional. For example:
It would be easy to click from a users post to his/her feedback thread, because the link would be in the signature. Likewise, it would be easy to jump to or from their profile, which would facilitate making contact.
Because the forum is only for positive feedback, ranking by post would have meaning.
Similarly, hot threads would point to people who have done a lot of good work recently.
The report bad post feature could be used to report the presence of negative feedback.
We?re assuming that everyone would subscribe to their own feedback thread and so would be automatically notified.
Thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.