![]() |
I'll PM you the code/file with the parts inserted. Make sure you use notepad, not word or wordpad for editing as it looks like you have returns and extra spaces all over, that or there is a wordwrap issue or something.
The only other notes I can see that are worth mentioning is that the website url should stop as follows $website = "http://xxx.com/forum"; and is your database table prefix really forum? $prefix = forum; |
Thank you very much for your superb support!
First of all the code you sent me works! One interesting note is that the initial error message I received after implementing your original specific category code (before the code from you pm) was: Fatal error: Cannot redeclare shorten_string() in /home/xxx/public_html/forum/modules/blog_comments.php on line 17 Then I think I messed with things too much (as you said it works 100%) Then I suddenly got the new error message I wrote about: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in [path]/modules/blog_comments_cars.php on line 31 I cannot connect to the database Probably due to the messing around. Okay, then I used the code you sent me by pm and then I receive the same error as initially: Fatal error: Cannot redeclare shorten_string() in /home/xxx/public_html/forum/modules/blog_comments.php on line 17 Then I found out I had two instances of your mod on the same cmps page - one with blog_comments.php and one new file for the specific category blog_comments_cars.php Then I removed the "get all blog comments" file: blog_comments.php And then it worked! :D Thank you again! I am sure other people will find this mod interesting. PS: yes it is forum :-) |
Excellent, glad you are all sorted.
PS if anyone has vbseo, then it makes adding the avatars easy ;) |
How to disable shown images in this module !?
And pls few words about user avatars infront of comment Thanks |
To remove images you would need to change
Code:
$comment= $bbcode_parser->do_parse($longcomment, 1,1,1,1); Code:
$comment= $bbcode_parser->do_parse($longcomment, 0,1,1,0); VBSEO for avatars: My avatars are in the format url/avatars/username.gif?datelinestamp I can use this method, due to the fact that usernames are unique. The code I use on the hack is Code:
<img align=\"absmiddle\" src=\"{$website}/avatars/{$row['username']}.gif\" width=\"30\" height=\"30\"></img> |
Just changed code regarding to images, works like charm
But I think with avatars I dont have much luck, its on my side for shure as Iam noobish to all this I have installed VBSEO for my forums, free version...I guess I should install addon for CMPS in order that this avatr thing work out for me Thank you very much for this mod |
AFAIK there is not a free version for VBSEO, unless you are on about the sitemaps generator, which is not the same thing.
|
:)
Yes my mistake .... was thinking about sitemap generator Thanks again for great mod |
I've followed the installation instructions but get a blank page at the moment. I've checked my variables, and they seem to correspond with those in the config.php file. Any ideas?
|
You need to click install for support
but to point you in the right direction http://www.theshebeen.org/blogs/ has no blog comments displaying either :p |
All times are GMT. The time now is 03:23 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|