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-24-2007 02:20 AM

it was a problem with the deletion system as well. I will fix the misc.php in the comment template in the next version. Sorry about that. Most all of these problems were caused by me moving it from member.php to misc.php to avoid vbseo breaking it.

elmati 04-24-2007 12:22 PM

yeah, as eXtremeTim says its recommended download his hack, cause his the owner and his support the hack :)

Otherwise, as i said mine (on post #26) have install/uninstall code, all text turn onto phrases, easy to translation, all templated and added the "Viewing 5 of 10 messages" addon by TheMilkCarton. fix for member.php and try to make it XHTML compatible.
but, i dont provide any support cuz its no my hack :)
I just repair for me, and share with yall :)

Best regards :)

eXtremeTim 04-24-2007 12:23 PM

I will add some of the stuff from your product into the next release. :)

Trana 04-24-2007 12:27 PM

Quote:

Originally Posted by TheMilkCarton (Post 1234414)
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?

Do you mean make this change within the memberinfo template or within the plugin code?

perju 04-24-2007 12:30 PM

Great Hack, Thank you.

I'm trying to get a flashing arrow next to the term Comments in my navbar to reflect new comments since last activity (akin to New Private Messages). I can't seem to get it to work.

Where would you recommend I run the query? (i.e. if comment[dateline] > lastactivity) and how would i condition it in the template? (i.e. if condition="newcomment")

Thanks again for this hack.

elmati 04-24-2007 12:31 PM

@Trana: Login onto your admincp, goto styles and edit your style.
in: ewt_memberprofile_commentbits
find misc.php and replace with member.php.

Done.

Trana 04-24-2007 12:35 PM

It would be great if it sent a PM to the member when someone left a comment.

Veer 04-24-2007 01:07 PM

It will be great if it install without running query, i don't like to run query :(

elmati 04-24-2007 02:01 PM

Quote:

Originally Posted by Pehchaan (Post 1234630)
It will be great if it install without running query, i don't like to run query :(

@pehchaan: wait for the next release o download the file i upload... with the query inside the product.xml :)

@Trana: im workin on that, but without pm, just an advice on the navbar o header...

TheMilkCarton 04-24-2007 02:28 PM

I've been trying to add the WYSIWYG editor. I have it showing up and "working" but when I post the comment there is only a <br />. I have gotten it to post the words a few times but the BBcode doesn't parse anymore.

I made a custom template with a customized editor_toolbar, and in the "<textarea />" I tried changing the name="message" to name="comment" but it's still not working. UGH.

Gizmo5h1t3 04-24-2007 02:44 PM

real weird this, ive got it displayin in some members profiles, but not others???

why would this be??

when either myself, or other members go viewing ppls profiles to add comments, some have the comments box, and some dont....

and its not like its usergroup specific either.....

eXtremeTim 04-24-2007 02:58 PM

Interesting.

Make sure you didnt paste the template edit anywhere where its inside a template conditional.

Gizmo5h1t3 04-24-2007 03:15 PM

Quote:

Originally Posted by eXtremeTim (Post 1234709)
Interesting.

Make sure you didnt paste the template edit anywhere where its inside a template conditional.

you hit the nail on the head tim...thats the reason.
problem is, on a clean install, itll work fine in that template...
but, with hacks added, as u know, where u tell ppl to put the code in the MEMBERINFO template, i had an <if> conditional blanketing it...so some would show, some wouldnt.....

sorted now....

nice 1 m8.


for further reference for others, if they get the same thing happening on theirs...

i put mine BELOW THIS CODE.

PHP Code:

<!-- / User Home Page Table -->
            </if> 

clicked install....

rabbits slayer 04-24-2007 04:46 PM

I get this error when viewing the member's profile. Help Pls.

Quote:

Database error in vBulletin 3.6.5:

Invalid SQL:

SELECT a.*, u.username
FROM vb3_ewt_memberprofile_comments a
LEFT JOIN vb3_user u
ON u.userid = a.userid
WHERE a.profileid = 4 AND a.valid=1
ORDER BY a.dateline desc;

MySQL Error : Table 'tsoth_atv.vb3_ewt_memberprofile_comments' doesn't exist
ewt_memberprofile_comments' already exists

elmati 04-24-2007 05:04 PM

Goto admincp -> maintenance -> repair optimize tables and search for: "ewt_memberprofile_comments" must be bellow of event table...

if mysql cant find the table the isnt created...
if exists then unisntall and reinstall the plugin...

rabbits slayer 04-24-2007 06:54 PM

The table is there, except its above vb3_event table

Damian 04-24-2007 08:24 PM

Quote:

Originally Posted by Trana (Post 1234351)
When clicking on the user's avatar (in their comment), I am directed to the smiley selection box.

Same for me. Is this a know bug or something I need to figure out?

Other than that, works perfect for me. Great hack.

perju 04-24-2007 08:40 PM

Quote:

Originally Posted by Damian (Post 1234927)
Same for me. Is this a know bug or something I need to figure out?

Other than that, works perfect for me. Great hack.


You need to modify your "ewt_memberprofile_commentbits" template:

change "misc.php?u=$commentposteruserid" to "member.php?u=$commentposteruserid" in a couple of places.

Damian 04-24-2007 09:26 PM

Quote:

Originally Posted by perju (Post 1234934)
You need to modify your "ewt_memberprofile_commentbits" template:

change "misc.php?u=$commentposteruserid" to "member.php?u=$commentposteruserid" in a couple of places.

Thanks for the info perju. Problem resolved. :)

rabbits slayer 04-24-2007 11:52 PM

Quote:

Originally Posted by elmati (Post 1234806)
Goto admincp -> maintenance -> repair optimize tables and search for: "ewt_memberprofile_comments" must be bellow of event table...

if mysql cant find the table the isnt created...
if exists then unisntall and reinstall the plugin...

Thanks buddy. Got it fixed. :)

Slave 04-25-2007 05:22 AM

Looking good, but I think I will wait for the AJAX version. Nice one Tim :)

Shazz 04-25-2007 05:38 AM

Not bad tim..

mrmike 04-25-2007 06:12 AM

Hi!

This hack is just great. Is it possible to get it work with 3.5.4?

TIA

/Mike

Snake 04-25-2007 02:52 PM

Thanks, I have been waiting for this.

ABeautifulBrown 04-26-2007 02:30 AM

works great! thanks so much!!!

PoetJA-1975 04-26-2007 03:02 AM

subscribing for ajax update.
Looks very nice - Thanx for sharing!

Jacquii.

ZomgStuff 04-26-2007 03:14 AM

Please make it so it PM's the user once they have been left a comment ;)

eXtremeTim 04-26-2007 03:33 AM

Quote:

Originally Posted by ZomgStuff (Post 1235602)
Please make it so it PM's the user once they have been left a comment ;)

That feature can be added into the que of what needs done. :)

mrmike 04-26-2007 09:40 AM

Works great on 3.5.4

Thanx alot!

Quote:

Originally Posted by mrmike (Post 1235138)
Hi!

This hack is just great. Is it possible to get it work with 3.5.4?

TIA

/Mike


katilkuzu 04-26-2007 10:01 AM

Code:

Database error in vBulletin 3.6.5:

Invalid SQL:

                                        SELECT a.*, u.username
                                                        FROM ewt_memberprofile_comments a
                                    LEFT JOIN user u
                                    ON u.userid = a.userid
                                    WHERE a.profileid = 467 AND a.valid=1                               
                                    ORDER BY a.dateline desc;

MySQL Error  : Table 'samittas_forum.ewt_memberprofile_comments' doesn't exist
Error Number : 1146
Date        : Thursday, April 26th 2007 @ 04:59:34 AM
Script      : http://www.newportuni.net/forum/member.php?u=9467
Referrer    : http://www.newportuni.net/forum/index.php
IP Address  : xxxxxxxxxx
Username    : 10.0.0.2
Classname    : vb_database



i got this eror :S when i imported the xml file...

ZomgStuff 04-26-2007 11:24 AM

Did you run the SQL query first?

EnIgMa1234 04-26-2007 01:52 PM

^^ you dont have to run it anymore i think

mrmike 04-26-2007 01:56 PM

post in wrong thread... Sorry!

deleted...

travisjerome 04-26-2007 02:23 PM

I am new to the Vbulletin thing, how do I go about doing the first part of the installation?

"Run the following query

CREATE TABLE `ewt_memberprofile_comments` (
`entryid` INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`profileid` INT( 10 ) NOT NULL ,
`userid` INT( 10 ) NOT NULL ,
`commenttext` TINYBLOB NOT NULL ,
`dateline` VARCHAR( 20 ) NOT NULL ,
`valid` TINYINT( 3 ) NOT NULL
)
"

elmati 04-26-2007 02:50 PM

Quote:

Originally Posted by travisjerome (Post 1235854)
I am new to the Vbulletin thing, how do I go about doing the first part of the installation?

"Run the following query

CREATE TABLE `ewt_memberprofile_comments` (
`entryid` INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`profileid` INT( 10 ) NOT NULL ,
`userid` INT( 10 ) NOT NULL ,
`commenttext` TINYBLOB NOT NULL ,
`dateline` VARCHAR( 20 ) NOT NULL ,
`valid` TINYINT( 3 ) NOT NULL
)
"

Travis, if dont want o dont know how run the query use the product i upload here

Just import the product and its done :)

I hope this help you :)

SATC 04-27-2007 03:16 PM

Quote:

Originally Posted by elmati (Post 1234224)
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...

Perfect, elmati. Perfect! :)

:up:

eXtremeTim 04-28-2007 01:31 AM

I will spend some time on this using the stuff everybody helped out with to produce a much better ajax version with corrections to all the problems that have been reported.

eXtremeTim 04-28-2007 01:38 AM

elmati's updated release is being adopted as the framework for the ajax version since it containt all my fixes plus a bit extra. :)

Thanks elmati. :)

eXtremeTim 04-28-2007 01:58 AM

I have updated the first post with the modified product file that was provided thanks to elmati. :)

TheMilkCarton 04-28-2007 03:08 AM

eXtremeTim --

I recommend changing the amount of comments shown in the profile (5 by default in your plugin) to a variable and adding it into the vB Options for an admin to change more easily than going into the plugin and editing all the 5's.

Also, did you ever incorporate the "add-on" I released on the first page of this thread? A user requested a "Viewing X of X Comments" in the user's profile. I thought it was a nice addition, but you obviously don't have to add it if it's not your thing :)

Edit: I also forgot to mention I've added WYSIWYG to this if you hadn't worked on this yet. However, I think I may have to add something into a vBullletin JS or PHP file.. Currently the "id="{$editorid}_textarea"" in the "editor_toolbar" template breaks the comment system.


All times are GMT. The time now is 04:07 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.01389 seconds
  • Memory Usage 1,829KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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