Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 23

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 28.04.2005, 04:49   #1 (permalink)
lpb
Baby Mamber
 
Join Date: Mar 2005
Posts: 22
lpb is on a distinguished road
Lightbulb how do i hack akocomment (add URL and email)

can someone point me in the right direction on this... i've never done anything besides tweaking existing modules/components for display purposes, etc.--so i'm not sure how to add completely new elements.

i want to add a URL field and an email field to akocomment (and then integrate trackback using a hack i saw on this site earlier).

first step is adding URL and email fields. where do i start?
__________________
Laryn and Janel Online - art, faith, politics, poetry, humour, culture...a little bit of everything
lpb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 29.04.2005, 08:31   #2 (permalink)
Junior Mamber
 
Join Date: Apr 2005
Posts: 32
DDRcasey is on a distinguished road
Default Re: how do i hack akocomment (add URL and email)

Well, your going to have to do some database editing and akocomment php file editing for sure. Also some of the admin akocomment php files. Basically its alot of editing of files, which to do for what you want, im not sure.
DDRcasey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.04.2005, 17:17   #3 (permalink)
lpb
Baby Mamber
 
Join Date: Mar 2005
Posts: 22
lpb is on a distinguished road
Default Re: how do i hack akocomment (add URL and email)

i've rethought a bit and don't think i'm going to go as far as database editing...but i am going to try to hack the akocomment php files and convert "subject" into "URL or email" and then either linking the URL or just saving the email in the database for admin only

.... I'll let you know how it goes.
__________________
Laryn and Janel Online - art, faith, politics, poetry, humour, culture...a little bit of everything
lpb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.05.2005, 05:46   #4 (permalink)
Rey
Baby Mamber
 
Join Date: Apr 2005
Posts: 10
Rey is on a distinguished road
Default Re: how do i hack akocomment (add URL and email)

I think he's trying to do like a blog where the Name field becomes linkable to the url the poster has put in.
Rey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 18.05.2005, 17:17   #5 (permalink)
Senior Mamber
 
ehsabbi's Avatar
 
Join Date: Sep 2004
Posts: 131
ehsabbi is on a distinguished road
Default Re: how do i hack akocomment (add URL and email)

Does anybody know how to show the full name and not username on the comments?

ehsabbi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16.06.2005, 17:54   #6 (permalink)
Baby Mamber
 
Join Date: Nov 2004
Posts: 13
hvanleeuwen is on a distinguished road
Default Re: how do i hack akocomment (add URL and email)

is there a hack or another component like akocomment that lets unregistered visitors comment AND lets them type their own name without having to register?

I just want people to type their own name instead of the fixed 'gues'
hvanleeuwen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16.06.2005, 22:45   #7 (permalink)
Senior Mamber
 
ehsabbi's Avatar
 
Join Date: Sep 2004
Posts: 131
ehsabbi is on a distinguished road
Default Re: how do i hack akocomment (add URL and email)

Hi hvanleeuwen

I had this problem before and the guys here had help me.
To get your task, simple edit your file home_of_mambo/mambot/akocommentbot.php
on line 208:

Where you find:

PHP Code:
$akoinputforum .= _AKOCOMMENT_GUESTNAME."<INPUT TYPE='hidden' NAME='acname' value='"._AKOCOMMENT_GUESTNAME."'>"
replace by this :

PHP Code:
$akoinputforum .= "<INPUT TYPE='text' NAME='acname' style='width:145px;' value='Guest' class='inputbox'>"
ehsabbi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17.06.2005, 01:14   #8 (permalink)
Baby Mamber
 
Join Date: Nov 2004
Posts: 13
hvanleeuwen is on a distinguished road
Default Re: how do i hack akocomment (add URL and email)

This workaround should do the trick indeed, thanks.

Mambo is a great cms let's just hope all these 3rd party components programmers etc will stick around and mature their code.
hvanleeuwen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Email Problem RandyJ Mambo 4.5.1 'How Do I' Questions 0 13.02.2005 14:47
Email link to content item problem sux2bme Mambo 4.5.1 Bugs 1 27.08.2004 17:52


All times are GMT +2. The time now is 10:24.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.