vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Comments Hack (https://vborg.vbsupport.ru/showthread.php?t=65404)

eob 05-22-2004 01:15 PM

Comments Hack
 
I've asked this before, but got nowhere. A lot of people out there are running either custom, very basic, or freeware CMS or news systems, where it would be great if the users could post comments about each article underneath using vBulletin. It would be a really simple hack to do, where anyone who wants to integrate it into their current software, would have to just specify which id the comment belongs to as the comments are entered and deleted on the page, for example..

Quote:

$id = $news_article_id
I've searched (in vain) to find anything along these lines that works, any assistance or suggestions are greatly appreciated.

AN-net 05-22-2004 01:29 PM

couldnt just create the news article in a thread and then each reply could be considered a comment. adds to your thread and postcount and makes things alot simpler;)

eob 05-22-2004 06:44 PM

No, it makes your site look like it's held together with third party code and a VB portal install.. like every other site on the planet. It would be nice if it looked exactly like how the comments work on Coppermine, imho.

NuclioN 05-22-2004 08:25 PM

I know what you meen eob. An integration of this type of comments would be great in vbadvanced for example. Awesome would be the latest thread as links on the left and when you click on a link the whole article appears including the comments and a comment textbox + smileys under it. :)

eob 05-22-2004 11:53 PM

Exactly, but despite knowing *a little* of PHP.. I haven't a clue about implementing hacks with vBulletin! I've asked and the Coppermine guys are fine with me hacking the Coppermine gallery comments code to make a comments hack provided I keep within the GPL... but I know it would suck when someone else could do it ten times better! :D Come on eager hackers, I've seen loads of requests for a hack like this, time to cut your teeth :P

cquarello 05-23-2004 11:14 AM

eob, let me clarify what you want so others will get a clear picture...

You basically want a way to display a thread (the entire message) via Javascript so you could display it on a non vB page. Kinda like what camcorferinfo.com does, right?

All the thread messages would be identified by a special ID number so only the right one would display on the corrrect page (this could be the title of the thread).

And finally if there were no posts, a 'reply' button would simply show to let someone leave a comment.


---

I think people should check out this example for a visual representation of what we'd all like:

http://www.camcorderinfo.com/content...der-review.htm

(scroll to the bottom of the page)


---

Now I believe some (if not most) could be done in external.php. All we need is a way to query which threads are displayed, and a way to show the entire thread (not just a link with the thread name).

eob 05-23-2004 03:32 PM

IMho, that's far more complicated than it really needs to be. I think something that uses the log-in/user of VBB but just has a very simple comments system, completely seperate from the forum itself, so that it encourages people to register on your site (because they're really annoyed or they agree with what you've said) and want to leave a comment about it, rather than register on yet another forum... you know what I mean?

The way to do it, is the Coppermine way, which I think is outstanding, and with them agreeing for their code to be re-used in a comments hack.. what's to lose? This is ten minutes work for a vBulletin junky and think of all the applications.. a comments hack could be literally ported out to hundreds of content management systems and news scripts of all ages, complexities and sizes! Come on people you KNOW this hack would rock!

eob 05-24-2004 01:44 AM

I was just looking at the Coppermine source code just now, it's simple enough, requiring only a few changes here and there to make the comments appear on non-Coppermine pages. Anyone willing to do this because I'm rubbish at working with 3rd party code.

kkiely 06-27-2004 07:26 PM

I have seen 2 sites with Comment Systems that are linked to VBulletin. From what people here are saying, all you have to do to create one is take the comment code from Photopost (hiwhc they have given you permission to do so) and change it a little to be able to make comments anywhere on your page?

If that's all there is then is anyone working on it?


All times are GMT. The time now is 06: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.05745 seconds
  • Memory Usage 1,737KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete