Log in

View Full Version : A commenting feature


cinq
02-10-2004, 06:50 AM
I'm currently working on the comments function for vbArticles (https://vborg.vbsupport.ru/showthread.php?t=54331)

Got some questions here :

1) How can I include a user avatar ? What kind of SQL Join query should i execute ?
2) How about user titles ?
3) And also , how can i enable the parsing of smilies in the comment bits ?

Any clue as to which php file i can look into to draw ideas from ?

Any help would be appreciated , thanks folks :D

cinq
02-12-2004, 02:27 AM
help ? :)

Andreas
02-12-2004, 02:44 AM
1) functions_user.php, fetch_avatar_url()
2) Don't know
3)
$vboptions['allowsmilies'] = true;
$yourstuff_parsed = parse_bbcode($yourstuff, 'nonforum');

cinq
02-12-2004, 02:58 AM
Thanks for the reply Kirby , but where is the functions_user.php file ?

Zachery
02-12-2004, 03:03 AM
Thanks for the reply Kirby , but where is the functions_user.php file ?
Are you using vB2 or vB3?

cinq
02-12-2004, 03:07 AM
vb2. the hack is for vb 2 :)

cinq
02-12-2004, 03:15 AM
Ok, i found the function. getavatarurl() in admin/functions.php
Avatars work now, as does the smilie parsing :D
Thanks guys :D

User titles anyone ? :)

Dean C
02-12-2004, 12:12 PM
User title info is stored in the user table :)