Gossamer Forum
Home : Products : Others : Gossamer Community :

How do you get GCommunity Profile to appear in Linksql?

Quote Reply
How do you get GCommunity Profile to appear in Linksql?
Hi,

I was trying to get the Gossamer Community profile fields to appear in Linksql.

The only thing I can get to appear is the username

how can I get the other fields to appear?
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
As far as I remember, you can use all the field names available in gcomm database in comm_users table as tags, like: comm_username, comm_email, etc...
Use like: <%comm_username%>

Note, I think it works if a user is logged in.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] How do you get GCommunity Profile to appear in Linksql? In reply to
In Reply To:
As far as I remember, you can use all the field names available in gcomm database in comm_users table as tags, like: comm_username, comm_email, etc...
Use like: <%comm_username%>

Note, I think it works if a user is logged in.


I'm trying to get the state to appear in linksql I tested <%comm_state%>
I tried what you suggested on linksql and it didnt work.

I did a GT template dump in GCommunity and the state appears as prof_state so I tried <%prof_state%> in linksql and it didnt work.

anything else you can suggest?
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
Hi incik

You need to add the following to the page you want the info displayed on.
This will get the info from Community and using <%comm_username%> etc will display the info.
Code:
<%Plugins::Auth_Community::get_profile($LinkOwner)%>

Do a search on the links forum for the above which should explain further.

Regards

minesite
Quote Reply
Re: [minesite] How do you get GCommunity Profile to appear in Linksql? In reply to
Ah, that's right. I forgot about that first you need to import the profile data Angelic

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] How do you get GCommunity Profile to appear in Linksql? In reply to
I'm not sure if I did this correctly but I tested what you guys suggested and did a search

I tested:

<%Plugins::Auth_Community::get_profile($LinkOwner)%>

and it didnt work after I did the search I found

<%Plugins::Auth_Community::get_profile($LinkOwner)%>

I tested both these with <%prof_state%> and <%comm_state%>
still no luck

heres the error message I get:

Error: Unable to load module: Plugins::Auth_Community. Reason:
Error: No subroutine 'Plugins::Auth_Community::get_profile' in 'Plugins/Auth_Community.pm',
Can't locate Plugins.pm in @INC (@INC contains: /home/sitename/public_html/community/private/lib /home/sitename/public_html/cgi-bin/links/admin /usr/local/lib/perl5/5.8.3/i386-freebsd /usr/local/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/i386-freebsd /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .) at GT::Template::_call_func line 753.

Unknown Tag: 'prof_state'
Unknown Tag: 'comm_state'

Any suggestions?
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
Do you have Auth_Community plugin installed in Links SQL?

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] How do you get GCommunity Profile to appear in Linksql? In reply to
Yes

Auth_Community version 1.0.0
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
Do you have correctly set up?
What are the settings?

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
Set in Links SQL/Admin/Plugins/Plugin Manager/Auth_Community 1.0.0/Edit/
Code:
community_private: c:/work/site/cgi-bin/gcommunity/private
community_keyword: linkssql
Also enable Plugin Hooks.


Set in GCommunity/Admin/Applications/
Code:
Keyword Type Auto Create Local/Remote Location
linkssql Local/LinksSQL Yes Local c:/work/site/cgi-bin/linkssql/admin

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] How do you get GCommunity Profile to appear in Linksql? In reply to
All of those things are set up correctly

I'm using Gossamer Community v.1.0.2

I'm not sure if that makes a difference
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
For the moment no more idea.
Found a few threads about the subject, but worked fine for everybody until now:
http://www.gossamer-threads.com/...n_Links_SQL_P272039/
http://www.gossamer-threads.com/...ating_issue_P261315/
http://www.gossamer-threads.com/...n_links_sql_P245752/

I will think on a possible solution...

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
If nothing will work, use a global from here:
http://www.gossamer-threads.com/...i?post=264103#264103

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
Also note this post:
http://www.gossamer-threads.com/...i?post=272162#272162
Not really helpful, but related to GComm installation problems.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] How do you get GCommunity Profile to appear in Linksql? In reply to
Not sure if this makes a difference but i'm using

Links SQL Version 2.2.0
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
no

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
Did you add <%GT::Template::dump%> to your template to see if the tags have been added?

Always -- and I *DO* mean *ALWAYS* surround the <%GT::Template::dump%> with your log on, or Google could open a doorway into your site:


<%if your_log_on_user_name%>
<%GT::Template::dump%>
<%endif%>


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] How do you get GCommunity Profile to appear in Linksql? In reply to
Yeah

I did the <%GT::Template::dump%>

they didnt appear

How would I add the tags?
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
Try to reinstall the Auth Community plugin a go through the steps I suggested earlier...
I have no more idea.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
Hi,

Does /home/sitename/public_html/cgi-bin/links/admin/Plugins/Auth_Community.pm exist, and does it have a function called get_profile in it?

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] How do you get GCommunity Profile to appear in Linksql? In reply to
no
the closest thing it has is
comm_get_profile

under sub auth_init
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
Hi,

I suspect you are using an old version. Are you using 1.0.2, and do you have the latest Auth_Community plugin that comes with 1.0.2?

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] How do you get GCommunity Profile to appear in Linksql? In reply to
I'm using GCommunity 1.0.2 and

Auth_Community 1.0.0
Quote Reply
Re: [incik] How do you get GCommunity Profile to appear in Linksql? In reply to
I went to linksql plugins section and downloaded whats on the download section for
Auth_Community and its still version 1.0.0

you guys need to update this

unless I can download this from a different part of the GT site?