1

Topic: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

Hello Everybody! I just kept myself on toes and brought to you, the long awaited, cometchat, well integrated with sharetronix. Now, There is nothing you need to do!
http://www.vicharmimansa.com/wp-content/uploads/2010/11/cometchat.pngSTEPS:



..Download the Zip file.  ( it contains readme.txt , read it and you will get every needed details.)


http://sharetronix.com/sharetronix/demo … 0final.zip

MUST SAY THANKS BUDDY !

And help me as well!    I am looking for a  RSS LINKS POST - VIEW COUNT . Which can be organized as " MOST READ LINKS" today/ week/ month etc.

LINK UPDATED

Last edited by greatkaniska (2010-12-01 04:42:50)

Thumbs up +2 Thumbs down

2

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

I didn't notice an install.php In the downloaded file.  ?????

Thumbs up Thumbs down

3

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

Yes! That was my fault. Actually, it was asked to delete the install.php after completing the installation. So, I deleted it and later compressed and provided for all to download. ! Just wait as I re-upload and offer it to you. or you can have the install.php from here. http://sharetronix.com/sharetronix/demo … nstall.php

Thumbs up Thumbs down

4

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

Download link wont work for me sad

German Sharetronix Support and development on:
http://Pixel4Tune.de

5

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

I'm still getting errors, Have  a link for a demo that you installed to ?

PHP Parse error:  syntax error, unexpected T_STRING in /XXXXX/XXXXX/public_html/cometchat/config.php on line 23
Looking at the error_log  its  the same error as whomever coded/released it

Last edited by templar72 (2010-11-30 02:50:29)

Thumbs up Thumbs down

6

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

I thank GreatKaniska for his love with our sharetronixguide community. I thank you for this exclusive post.  I hope he will fix this issue soon also

Install Turnkey Web Scripts start your own profit portals
Do someMicro Jobs and earn decent money on your part time

7

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

templar72 wrote:

I'm still getting errors, Have  a link for a demo that you installed to ?

PHP Parse error:  syntax error, unexpected T_STRING in /XXXXX/XXXXX/public_html/cometchat/config.php on line 23
Looking at the error_log  its  the same error as whomever coded/released it


I get the same problem.Also after editing the config.php manually.

German Sharetronix Support and development on:
http://Pixel4Tune.de

8

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

PS: Will this Chat grab the Usernames the ppl have on a Sharetronix site?

German Sharetronix Support and development on:
http://Pixel4Tune.de

9

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

Guys! I preferedto install sharetronix plain site once again in a subdirectory and try it myself. I found that errors were there, it was just because, my theme has undergone huge change.
I did everything form the start and this is the new link,
And this one is working. I have checked it myself. SO no more errors!  smile
http://sharetronix.com/sharetronix/demo … 0final.zip

Thumbs up −1 Thumbs down

10

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

PS reply
Yes , this will automatically grab the database functions as there is no separate database needed for this. It integrates with the site core. Guys! It happens because I was so eager to share things with you, that I didn't notice that my Sharetronix is no longer, sharetronix at all. I used the script to create a RSS feed collector site with tweet+ networking. A unique model in itself.
Though I can't yet make my site live and share to you people, just because I lack one major functioning. Post Views Count ( link view Count) and Top Posts Today, Top Posts of the Week , and Top posts of the month. Kind of distribution. Though I have created the view count, but couldn't arrange it as I said.
I am neither a novice nor an expert. journalist by profession. Just a bit of understanding in this regards ! Please help me get this done @ Admin sad

Thumbs up Thumbs down

11

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

Im not shure but with you new version i get a similar problem:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ')' in /var/MYWEBSITE/tweet/chat1/config.php on line 214

German Sharetronix Support and development on:
http://Pixel4Tune.de

12

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

Did you change the "cometchat" directory name? The lines 214 onwards describes a map with what you find in mysql database.
go to phpmyadmin > select the database> browse the table named"user" .
you will find different rows that collects data of your running site.

$sql = ("select DISTINCT ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." userid, ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_NAME." username, ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_LASTACTIVITY." lastactivity, ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." avatar, ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." link, cometchat_status.message, cometchat_status.status from ".TABLE_PREFIX."userlist join ".TABLE_PREFIX.DB_USERTABLE." on ".TABLE_PREFIX."userlist.relationid = ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." left join cometchat_status on ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." = cometchat_status.userid where ".TABLE_PREFIX."userlist.friend = 'yes' and ".TABLE_PREFIX."userlist.userid = '".mysql_real_escape_string($this->user->id)."' order by username asc"http://sharetronix.com/sharetronix/demo/i/icons/icon_wink.gif;
Map it with the ST demands . Like it seeks userid > which is under ID coloumn in USER table of mysql database. agin Cometchat seeks> DB_USERTABLE_NAME > which may be your USERNAME row under USER table in pHPmyadmin or FULL NAME row..
kinldy resolve the conflicts by simply replacing the correct rows arguments.

Thumbs up Thumbs down

13

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

no sirve http://sharetronixguide.com/img/smilies/sad.png Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ')' in /var/MYWEBSITE/cometchat/config.php on line 214 tu codigo esta malooo

Thumbs up Thumbs down

14

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

otacon wrote:

no sirve http://sharetronixguide.com/img/smilies/sad.png Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ')' in /var/MYWEBSITE/cometchat/config.php on line 214 tu codigo esta malooo


Well... i got the same problem.

Thumbs up Thumbs down

15

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

I dont understand with this -->>> define('DB_PORT','3306');

Thumbs up Thumbs down

16

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

Zeronix wrote:

Im not shure but with you new version i get a similar problem:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ')' in /var/MYWEBSITE/tweet/chat1/config.php on line 214

How to fix this. youre tuts isnt completed. Please share again youre tuts. Thanks. smile

Thumbs up +1 Thumbs down

17

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

Parse error:  syntax error, unexpected T_OBJECT_OPERATOR, expecting ')' in \web\cometchat\config.php on line 214

Any solution to this problem?
Help please!

Thumbs up Thumbs down

18

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

hey guys

how u doin ?http://sharetronixguide.com/img/smilies/tongue.png

ok all u need to setup this chat bar is opening config.php in  cometchat folder  and  find this code :

$this->user->id

and change it into this :

$tronixID

note :  u may need to replace all same codes, to do this you can  use replace all tool in your editor
PPS : this replacing action is because of an error in this file . so don't worry fellows
DONE http://sharetronixguide.com/img/smilies/lol.png

btw  this version of cometchat is an old version and im thinking about integrating its new version

if u guys welcome this message of  me then I would do that for sharetronix community

just for now enjoy the current version http://sharetronixguide.com/img/smilies/tongue.png

www.tarjome.org

Last edited by aneeshtan (2011-01-24 23:53:02)

Thumbs up Thumbs down

19

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

Hi Aneeshtan, you could share the entire code of the chat, I did what you said but still notworking as it should, thanks for your help...

note: enter your Sharetronix and see that the chat is not working properly, right?

http://img84.imageshack.us/img84/5111/sinttuloba.png

Last edited by otacon (2011-01-25 02:18:44)

Thumbs up Thumbs down

20

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

not found D:

Thumbs up Thumbs down

21

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

yes, i finished it too, but it cant work. there is a tip of "please login to forum use cometchat", i cant understand how can i do.
i used the replace of "$this---id" to "$tronixID".

Thumbs up Thumbs down

22

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

some body help and fix it sad

Thumbs up Thumbs down

23

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

I have finally made the script work.. Just if somebody with better understanding can solve this much for me.

Scroll down to find the getUserID() function.

The getUserID() function is used to return the logged in user's ID. Depending on how you have programmed your site, you will have to find out the user's ID.

If you have written a simple PHP authentication, then during the authentication, you can specify a session variable like:

what is the id assigned to  the user after he logs in. see this page for detail and help this out.. You will have the genuine release next morning ,

It is explained here , I am stuck at login recognition part.

http://www.cometchat.com/knowledgebase/ … standalone

/* In your own login.php *//* After you authenticate the user */$_SESSION['userid'] = $users['id']; // Modify to suit requirements

Then your getUserID() function will look like:

function getUserID() {    $userid = 0; // Return 0 if user is not logged in        if (!empty($_SESSION['userid'])) {        $userid = $_SESSION['userid'];    }    return $userid;}

Thumbs up Thumbs down

24

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

greatkaniska wrote:

I have finally made the script work.. Just if somebody with better understanding can solve this much for me.

Scroll down to find the getUserID() function.

The getUserID() function is used to return the logged in user's ID. Depending on how you have programmed your site, you will have to find out the user's ID.

If you have written a simple PHP authentication, then during the authentication, you can specify a session variable like:

what is the id assigned to  the user after he logs in. see this page for detail and help this out.. You will have the genuine release next morning ,

It is explained here , I am stuck at login recognition part.

http://www.cometchat.com/knowledgebase/ … standalone

/* In your own login.php *//* After you authenticate the user */$_SESSION['userid'] = $users['id']; // Modify to suit requirements

Then your getUserID() function will look like:

function getUserID() {    $userid = 0; // Return 0 if user is not logged in        if (!empty($_SESSION['userid'])) {        $userid = $_SESSION['userid'];    }    return $userid;}

The error I'm getting is Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ')' in /var/MYWEBSITE/cometchat/config.php on line 214 and its because of this line of code "function getFriendsList($this->user->id,$time) {"

Once I remove that line the error jumps over to the next "function getUserDetails($this->user->id) {" Im positive that it has to do with the hook "$this->user-id" but I have no clue on how to fix this. Cometchat will only pick up logged in users with that hook and there doesn't seem to be a way around it.

Can anybody help with this? Maybe sharetronix admins would know

Thumbs up Thumbs down

25

Re: Cometchat Integrated with Sharetronix ( EXCLUSIVE FOR SHARETRONIXGUIDE

None of the download links work, is it unavaiable for download anymore ?

Thumbs up +1 Thumbs down