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)

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!


All times are GMT. The time now is 10:54 PM.

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.01114 seconds
  • Memory Usage 1,749KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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