PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
eldorado
Involved
Involved


Joined: Sep 10, 2008
Posts: 366
Location: France

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

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
View user's profile Send private message Visit poster's website MSN Messenger
gazj
Worker
Worker


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

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

cool nice to see you fixed it Very Happy
View user's profile Send private message Visit poster's website
eldorado
Involved
Involved


Joined: Sep 10, 2008
Posts: 366
Location: France

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

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
View user's profile Send private message Visit poster's website MSN Messenger
gazj
Worker
Worker


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

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

iv done the chat.php to use the db layer and it seems to be working fine Very Happy
View user's profile Send private message Visit poster's website
gazj
Worker
Worker


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

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

now on to adding links to profiles, avatars and offline message to let users know if the person is offline
View user's profile Send private message Visit poster's website
eldorado
Involved
Involved


Joined: Sep 10, 2008
Posts: 366
Location: France

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

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

very nice.
View user's profile Send private message Visit poster's website MSN Messenger
gazj
Worker
Worker


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

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

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
View user's profile Send private message Visit poster's website
eldorado
Involved
Involved


Joined: Sep 10, 2008
Posts: 366
Location: France

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

edited:


Last edited by eldorado on Sun Aug 16, 2009 10:18 am; edited 2 times in total
View user's profile Send private message Visit poster's website MSN Messenger
gazj
Worker
Worker


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

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

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
View user's profile Send private message Visit poster's website
gazj
Worker
Worker


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

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

the files are corrupt bud none will open
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

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

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)...
View user's profile Send private message
eldorado
Involved
Involved


Joined: Sep 10, 2008
Posts: 366
Location: France

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

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 )
View user's profile Send private message Visit poster's website MSN Messenger
NeapolitanWorld
Involved
Involved


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

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

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
View user's profile Send private message Visit poster's website
eldorado
Involved
Involved


Joined: Sep 10, 2008
Posts: 366
Location: France

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

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 to the forums!


kguske, can an array be made with the $SESSION['username']?
View user's profile Send private message Visit poster's website MSN Messenger
gazj
Worker
Worker


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

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

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
View user's profile Send private message Visit poster's website
NeapolitanWorld
Involved
Involved


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

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

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?
View user's profile Send private message Visit poster's website
gazj
Worker
Worker


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

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

sounds like the js file isnt activating i just downloaded the zip ill have a look
View user's profile Send private message Visit poster's website
gazj
Worker
Worker


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

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

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
View user's profile Send private message Visit poster's website
gazj
Worker
Worker


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

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

and the js file for the chat isnt included in the download
View user's profile Send private message Visit poster's website
NeapolitanWorld
Involved
Involved


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

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

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
View user's profile Send private message Visit poster's website
gazj
Worker
Worker


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

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

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
View user's profile Send private message Visit poster's website
gazj
Worker
Worker


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

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

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
View user's profile Send private message Visit poster's website
NeapolitanWorld
Involved
Involved


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

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

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
View user's profile Send private message Visit poster's website
eldorado
Involved
Involved


Joined: Sep 10, 2008
Posts: 366
Location: France

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

Embarassed Embarassed , I knew i forgot some stuff... , Repackaged and reuploaded.
It should work now.
View user's profile Send private message Visit poster's website MSN Messenger
gazj
Worker
Worker


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

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

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
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum