vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Profile Enhancements - Profile Commenting System (https://vborg.vbsupport.ru/showthread.php?t=145557)

eXtremeTim 04-22-2007 10:00 PM

Profile Commenting System
 
What does this hack do?

It gives you a commenting system on the users profile page similiar to the myspace system.

Allows smilies and bbcodes but not html.

Demo: http://www.extremewebtech.com/forums/members/tim.html


Whats coming in the next release?
Ajax and wysiwyg

This is the newest release with the updates form the thread. Next up AJAX!!!

eXtremeTim 04-23-2007 05:55 AM

There was a bug in the system that I just fixed so if you already downloaded please redownload.

Abomonation 04-23-2007 06:14 AM

Very nice, Thanks.

Tralala 04-23-2007 07:02 AM

Awesome!

eXtremeTim 04-23-2007 07:19 AM

Please remember to click install.

Allan 04-23-2007 08:42 AM

Screens please because we must register for see your demo ^^

Suggestion
: Add the query in the product, and add the unistall query.

eXtremeTim 04-23-2007 08:43 AM

Demo test account info is test2323 for user and password.

Yea i ment to add the query in and forgot at the time of exporting it and will add it into the next version.

dizzy100 04-23-2007 09:56 AM

That demo account doesn't work ?

Much better to provide screenshots mate. Easier for all concerned.

EnIgMa1234 04-23-2007 10:52 AM

nice hack. gj

AMG021 04-23-2007 11:56 AM

Here is a screen Shot I took from the demo!

https://vborg.vbsupport.ru/external/2007/04/2.png

TheMilkCarton 04-23-2007 12:01 PM

Quote:

Fatal error: Cannot instantiate non-existent class: vb_bbcodeparser in /*snip*/public_html/forums/misc.php(96) : eval()'d code on line 11
I get that when clicking "View All Comments" on my boards.

Other than that, keep up the great work! I'll be looking forward to future releases of this, although I hope I find a way to fix this All Comments error. :( I've upped the amount of comments that show in the profile for now.

elmati 04-23-2007 12:35 PM

Hi, nice mod!

let me test it out :)

ill come back later

Ultimative 04-23-2007 12:39 PM

Anyway to display to current amount of Comments the user has? Similar to what you see on MySpace. If not that would be an extremely good addition for an update.

TheMilkCarton 04-23-2007 01:12 PM

@Ultimative

Add to bottom of Member Commenting System plugin
PHP Code:

$comment_total=$vbulletin->db->num_rows($commentsquery);

if(
$vbulletin->db->num_rows($commentsquery)<5)
{
$comment_shown=$vbulletin->db->num_rows($commentsquery);
}
else
{
$comment_shown=5;


The "5" of course is the default amount of comments to be shown. If you haven't already changed the amount of comments shown, you don't need to worry about changing this.
-------
Add the red to MEMBERINFO template:
Code:

<td valign="top" class="alt1">
&nbsp;Viewing $comment_shown of $comment_total Comments
        <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" class="tborder">
        $commentbits

If eXtremeTim finds this code suitable, he's free to copy it into a future update. :)

Edit: I'm not worried about it, but this will show up as "1 of 1 Comments" which may bother some, since it should say "Comment". If this bothers you, it's very easy to fix. :)
------------------
@ eXtremeTim:

I fixed my "View All Comments" problem. For whatever reason I had to add
PHP Code:

require_once('./includes/class_bbcode.php'); 

and
PHP Code:

require_once('./includes/functions_user.php'); 

to the plugin that was at "misc_start". I think I have a modified misc.php file, so that may be the problem?

elmati 04-23-2007 01:47 PM

works like a charm!

thx a lot for this, i love it! :)

Abomonation 04-23-2007 01:59 PM

View all comments, when clicked it comes up with this error

Fatal error: Cannot instantiate non-existent class: vb_bbcodeparser in /home/mybobba/public_html/profiles/misc.php(96) : eval()'d code on line 71

TheMilkCarton 04-23-2007 02:06 PM

Quote:

Originally Posted by TheMilkCarton (Post 1234001)
@ eXtremeTim:

I fixed my "View All Comments" problem. For whatever reason I had to add
PHP Code:

require_once('./includes/class_bbcode.php'); 

and
PHP Code:

require_once('./includes/functions_user.php'); 

to the plugin that was at "misc_start". I think I have a modified misc.php file, so that may be the problem?

Abomonation, do what I said in my last post.

Put the first above
Code:

if(!$bbcode_parser)
Put the second above
Code:

$avatar_url
See if that helps you.

dj_melayu 04-23-2007 02:09 PM

Do I have to uninstall this hack? https://vborg.vbsupport.ru/showthread.php?t=103881
Is it the same? :)

EnIgMa1234 04-23-2007 02:12 PM

Quote:

Originally Posted by dj_melayu (Post 1234042)
Do I have to install this hack? https://vborg.vbsupport.ru/showthread.php?t=103881
Is it the same? :)

i doubt you do

Abomonation 04-23-2007 02:19 PM

Thanks Dude!

eXtremeTim 04-23-2007 03:20 PM

yea i broke the view all comments when I moved it from members.php to misc.php. Sorry about that. I moved it becuase vbseo was breaking the comment system.

elmati 04-23-2007 03:22 PM

eXtremeTim point to post #15 i make an update used for me...
take a look :)

eXtremeTim 04-23-2007 03:35 PM

I will release version 1.0.3 in a bit.

eXtremeTim 04-23-2007 03:39 PM

Version 1.0.3 has been released.

Tralala 04-23-2007 06:07 PM

Looking forward to the AJAX/wysiwyg update!!

elmati 04-23-2007 07:28 PM

Ok, the 1.0.3 got some issues...

is callin to misc.php?u=UID, that page dont exist must be: member.php?u=UID (fixed)
View more comments dont work... (fixed)

i added a installcode and uninstallcode, so no need to run the query manually.
also i added the template to the template system, so just need put $guestbook somewhere in MEMBERINFO Template
and also i move every text into phrases :)

I made some changes in the product.xml to correct the issues...
take a look into the zip i upload :)

i hope this help...

dj_melayu 04-23-2007 07:37 PM

Bump https://vborg.vbsupport.ru/showpost....2&postcount=18 :)

elmati 04-23-2007 07:52 PM

Quote:

Originally Posted by dj_melayu (Post 1234232)

sorry i cant access:S
i dont know why...

tellme the hack name to search...


Otherwise, if you say that its the same thing i think you need choose one.
I recommend this one its simple nice coded :)

dj_melayu 04-23-2007 08:03 PM

It's the same I guess. Which one is better? :)

elmati 04-23-2007 08:16 PM

@dj_melayu:

im using this one.
And when eXtremeTim add the ajax feature will be great! :)

im using this without problems and just add 1 query to memberinfo.


best regards!

Kyderoy 04-23-2007 08:55 PM

I am confused on which file to download.... Elmati or eXtreme Tim.

elmati 04-23-2007 09:16 PM

i recommend you download twice

in mine i add everything you can read in my latest post with attachment.

Best regards.

Kyderoy 04-23-2007 09:19 PM

Why twice?

elmati 04-23-2007 09:24 PM

to test, and experiment with both...

read about my changes, there are just for facility new users that dont knows how to run a query, etc...

:)

Kyderoy 04-23-2007 09:38 PM

Thanks.. I used yours because i didn't know how to run the queries.

Any chance you guys can do a hack that give members a webpage where they can use html?

elmati 04-23-2007 09:54 PM

there was an addon that make that...
something like webpage & profile comments...
but it was not well done as i remember...

try searchin on the forums :)

eXtremeTim 04-23-2007 11:03 PM

Mine is updated and has the view all comments fix that I made for my site plus a few other fixes so I recommend you download mine.

eXtremeTim 04-23-2007 11:03 PM

if you installed his just overwrite his plugin with my newest one and you will have all my updates.

Trana 04-23-2007 11:19 PM

When clicking on the user's avatar (in their comment), I am directed to the smiley selection box.

TheMilkCarton 04-24-2007 02:03 AM

Change the "misc.php" to "member.php" in the comment template. I caught this issue too.

eXtremeTim.. what was actually changed in the new update? Was it just the View All Comments fix?


All times are GMT. The time now is 04:57 AM.

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.01358 seconds
  • Memory Usage 1,801KB
  • 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
  • (3)bbcode_code_printable
  • (5)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete