vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - vBadvanced & Photopost Latest comments on front page. (https://vborg.vbsupport.ru/showthread.php?t=132590)

phill2003 01-05-2007 04:18 AM

Quote:

Originally Posted by puregraf (Post 1150857)
How would i add the recent comments to my right_column hack i have installed, whats the code i would need to add so that it would display the recemnt comments on my vbulletin forum page on the right column side, where my hack is currently enabled and i have google ads on that area?

heres the vbulletin forum so you can see what im talking about the right column side

http://www.puregraffiti.com/graffiti-space/index.php

take the include statement (minus the echo part) from the module file and put it into global_start as a plugin. then you can put the variable into your right column code

SherryG 01-07-2007 01:58 PM

Got this working and it's great! Thank You!

I have just one question - how would I get the lines to appear between each comment/photo like you have in your sample thumbnail?

Cheers!

Exitilus 01-09-2007 11:34 PM

Any chance of seeing support for BB Code added?

Cocko 01-10-2007 04:11 PM

and smiles would be nice, also

SherryG 01-14-2007 01:33 PM

Got this working and it's great! Thank You!

I have just one question - how would I get the lines to appear between each comment/photo like you have in your sample thumbnail?

Cheers!

yotsume 08-31-2007 05:20 PM

Hi,

Nice start of a hack... It's off to a good start... that fact that you have to exclude categories for this to work is a super glitch in my book because I don't want any of my categories excluded!!!

So what I did to fix this is put a fake category number in and poof it works perfect! So if you have the problem with this error:

Unknown column 'xxx' in 'where clause'

Just put in: $cat_exclusions = '1,2' (line 11 in my file)

Then the module will work without that error and all categories will show comments.

This module looks pure ugly in my side columns in my CMPS. I have to have it in my center. I am working out how to set this up in a column that will not look pure ugly. I will post screen shots and how to do with clear instructions once I get it worked out.

phill2003 08-31-2007 07:38 PM

Quote:

Originally Posted by yotsume (Post 1329593)
Hi,

Nice start of a hack... It's off to a good start... that fact that you have to exclude categories for this to work is a super glitch in my book because I don't want any of my categories excluded!!!

So what I did to fix this is put a fake category number in and poof it works perfect! So if you have the problem with this error:

Unknown column 'xxx' in 'where clause'

Just put in: $cat_exclusions = '1,2' (line 11 in my file)

Then the module will work without that error and all categories will show comments.

This module looks pure ugly in my side columns in my CMPS. I have to have it in my center. I am working out how to set this up in a column that will not look pure ugly. I will post screen shots and how to do with clear instructions once I get it worked out.


Yep or it could be that I wanted to exclude cats from showing :) If you dont want to exclude anything just remove

Code:

$cat_exclusions = 'xxx,xxx';
from about line 10 and change

Code:

WHERE cat NOT IN ($cat_exclusions) AND comment != ''
to
Code:

WHERE comment != ''

But if you want to put false cat numbers in to fix a non existent problem go right ahead :)


Oh and as it looks pure ugly you probably wont want to use it so if thats the case you may want to release one you code so others can come and say to you

"Hey this is crap looks rubbish is not finished but i will use it anyway"

yotsume 09-16-2007 06:43 PM

In my sidebar this module kills my theme.

In my center column it looks awesome... but.... Someone left a good sized comment with a long URL. It is stretching my theme to the right so the right column you now have to scroll to see all of it.

What code do I have to change to make this module when in the center column not stretch.

How can I set the width of this in a center column so it perfectly matched my other blocks?

I am sorry if my comments about your module didn't sit right with you... but... like I said in a side column it is all whacked out for me and doesn't look as nice as your great screen shot.

There are other problems with your module as well. URLs don't show correctly nor does BB codes. For instance, instead of a nice hyper link in a comment it shows:

["URL]http://www.domain.com/whatever/08-02.html[/URL"] (without the "")

So How do I stop the block from stretching when long urls are posted?

Thanks!

Again don't take my comments personally and fire back at me but it has problems and I am willing to help the best I can by at least letting you know so you can make an even better module.

Thanks for a great module its a one of a kind so far!


All times are GMT. The time now is 04:12 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.01150 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)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
  • (8)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