Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
eldorado
Involved
Involved



Joined: Sep 10, 2008
Posts: 424
Location: France,Translator

PostPosted: Fri Aug 14, 2009 7:23 am Reply with quote

Ok , thx for pointing me to this file gasj , but the weirdest part is not the #main_container but the html_body which I assumed you mis-wrote in your explanations.
Code:


html, body {
   margin:0px; /* FF hack: or we'll have double scrollbar showing on the browser */
   overflow:hidden;  hide browser's main scrollbar */

}

I have commented the overflow:hidden , That did the trick for me.
Only question is , why would I hide my scrollbar :p

_________________
United-holy-dragons.net (My RN site)- Rejekz(cod4 clan) - gamerslounge 
View user's profile Send private message Visit poster's website MSN Messenger
gazj
Worker
Worker



Joined: Apr 28, 2006
Posts: 152
Location: doncaster england

PostPosted: Fri Aug 14, 2009 2:18 pm Reply with quote

cool nice to see you fixed it Very Happy

_________________
as i stare into the abyss and battle with my demons i yell timeout and have a coffee break. 
View user's profile Send private message Visit poster's website
eldorado







PostPosted: Sat Aug 15, 2009 5:08 am Reply with quote

i'll post some screenies when i'm done fixing the db layer. Would be nice to have it implemented in nuke. Only problem I fear is sql injection Sad
 
gazj







PostPosted: Sat Aug 15, 2009 7:43 am Reply with quote

iv done the chat.php to use the db layer and it seems to be working fine Very Happy
 
gazj







PostPosted: Sat Aug 15, 2009 8:02 am Reply with quote

now on to adding links to profiles, avatars and offline message to let users know if the person is offline
 
eldorado







PostPosted: Sat Aug 15, 2009 12:09 pm Reply with quote

gazj wrote:
iv done the chat.php to use the db layer and it seems to be working fine Very Happy

very nice.
 
gazj







PostPosted: Sat Aug 15, 2009 1:53 pm Reply with quote

eldo can you send me your copy its very strange i download the files and they dont work and the chat.php is screwed i get error messages from it and it wont even work from the example pages :S
 
eldorado







PostPosted: Sun Aug 16, 2009 5:57 am Reply with quote

edited:


Last edited by eldorado on Sun Aug 16, 2009 10:18 am; edited 2 times in total 
gazj







PostPosted: Sun Aug 16, 2009 7:22 am Reply with quote

its not even working local using the examples in the zip im getting a parse error on the chat.php and if i fix it i then get undefined as username and it saves the chat to the db but doesnt display it this is way to unstable for me to even try and release any info for in tutorials

im looking at other chat IM's to intergrate with nuke preferably ones that sit within the site like the facebook style chat does
 
gazj







PostPosted: Sun Aug 16, 2009 7:43 am Reply with quote

the files are corrupt bud none will open
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6432

PostPosted: Tue Aug 18, 2009 8:41 pm Reply with quote

Thinking about this and had an idea: could this be used for notifications from the site?

Here are some examples:
- 3 New PMs are waiting
- 2 News Stories are waiting (for admins)
- Site Message: Check out our new edit in place user profile (i.e. admins have the ability to send)
- Welcome to our RavenNuke(tm) site, new member dazj!

It seems possible, though I haven't looked at the code (yet)...

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
eldorado







PostPosted: Wed Aug 19, 2009 9:37 am Reply with quote

it is possible. though , i'm wondering how you are going to achieve a wide site message from admin with more than 10,000 members :p Unless a specific user respond to multiple nicknames like "username" , "group_name" , and "all" the table get populated really quickly.(would crash the db )
 
NeapolitanWorld
Involved
Involved



Joined: Nov 06, 2005
Posts: 339
Location: Los Angeles, USA

PostPosted: Thu Aug 20, 2009 12:30 pm Reply with quote

This conversation got way over my head Confused Laughing so does it look like this can be integrated to RN? gazj I don't see the chat feature on your site no more Sad

jc

_________________
My Raven Site Neapolitan Mastiff 
View user's profile Send private message
eldorado







PostPosted: Thu Aug 20, 2009 3:58 pm Reply with quote

Of course it can. I removed my link because i had issues with my connection.
download at [ Only registered users can see links on this board! Get registered or login! ]

kguske, can an array be made with the $SESSION['username']?
 
gazj







PostPosted: Thu Aug 20, 2009 4:04 pm Reply with quote

the script its self can do the things kguse suggested its just a case of adding to the existing php functions within the chat.php but i dont fancy trying it allways breaks and never works again on my site the second i edit the chat.php even by changing the db config
 
NeapolitanWorld







PostPosted: Thu Aug 20, 2009 4:47 pm Reply with quote

eldorado thanks! installed the package, db tables and files when I'm in "view profile" and try to click the link "Online Chat: Chat with admin" nothing happens... is there a step I'm missing besides what's on the install.txt file?
 
gazj







PostPosted: Thu Aug 20, 2009 4:59 pm Reply with quote

sounds like the js file isnt activating i just downloaded the zip ill have a look
 
gazj







PostPosted: Thu Aug 20, 2009 5:15 pm Reply with quote

you have'nt got jquery added thats why nothing is happening
download the latest jquery add that then it will work just rename the file for jquery you download to jquery.js and upload to includes/js
 
gazj







PostPosted: Thu Aug 20, 2009 5:19 pm Reply with quote

and the js file for the chat isnt included in the download
 
NeapolitanWorld







PostPosted: Thu Aug 20, 2009 5:40 pm Reply with quote

WOW! ok I just added the js folder same place where I uploaded the /css folder Very Happy I tested with one Firefox browser and an IE browser chatting with each other and it works awesome Wave Dance-Y
Do you know what happens to the chats? would I need to be emptying out the db chat table or? man this is exciting works just like FB! I hope it is further developed for RN! in my opinion it's a must for todays cms to compete with FB users etc. I have been loosing many members recently to FB due to the chat feature Sad
Raven any chance to include something like this in core Laughing

Thanks! will keep testing it Smile

Just a quick question on the intall.txt it says:
#3 - Open themes/Your_Theme/forums/profile_view_body.tpl and add after

but no explanation on what was done to the tpl file. Can you post what needs to be edited on this file?


Thanks
jc
 
gazj







PostPosted: Thu Aug 20, 2009 6:04 pm Reply with quote

it hides the scroll bar in ie and it doesnt follow the page well in ie 8 anyways JC go on my site and ill pass my own edited css files for the chat to fix the css issues
 
gazj







PostPosted: Thu Aug 20, 2009 6:15 pm Reply with quote

the chat sessions are deleted automaticly on session end unless the database has the record to see if the message is recieved this is changed on the user opening the chat
 
NeapolitanWorld







PostPosted: Thu Aug 20, 2009 10:56 pm Reply with quote

NeapolitanWorld wrote:


Just a quick question on the intall.txt it says:
#3 - Open themes/Your_Theme/forums/profile_view_body.tpl and add after

but no explanation on what was done to the tpl file. Can you post what needs to be edited on this file?


Answered my own easy question lol

Code:
<td align="right" nowrap="nowrap">Online Chat:</td>

<td><a href="javascript:void(0)" onclick="javascript:chatWith('{USERNAME}')">Chat with {USERNAME}</a></td>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/chat.js"></script>
</tr>


Thanks gazj will look out for it.

jc
 
eldorado







PostPosted: Fri Aug 21, 2009 4:19 am Reply with quote

Embarassed Embarassed , I knew i forgot some stuff... , Repackaged and reuploaded.
It should work now.
 
gazj







PostPosted: Fri Aug 21, 2009 9:31 am Reply with quote

right replace the head include with these



Code:
echo '<link type="text/css" rel="stylesheet" media="all" href="includes/css/chat.css" />';

echo '<link type="text/css" rel="stylesheet" media="all" href="includes/css/screen.css" />';
echo'<!--[if IE]>';
echo '<link type="text/css" rel="stylesheet" media="all" href="includes/css/screen_ie.css" />';
echo'<![endif]-->';


download css files css.zip
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©