ahmad_511's Profile User Rating: *****

Reputation: 131 Stalwart
Group:
Author w/DIC++
Active Posts:
722 (0.28 per day)
Joined:
28-April 07
Profile Views:
23,981
Last Active:
User is offline Apr 08 2014 05:01 AM
Currently:
Offline

Previous Fields

Country:
SY
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
AMD
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
650

Latest Visitors

Icon   ahmad_511 Devils are surprised because what some people do these days

Posts I've Made

  1. In Topic: PHP File Browser

    Posted 16 Mar 2014

    Hi Daniel,
    you can get what you want by reading the params.currentPath which is passed to the onselect callback function as the second argument

    something like this:

    onselect:function(item, params){
    	if(item.type=="folder"){
    		// Read the path from item.path property if selected item is a folder
    		document.getElementById('ID_OF_PATH_ELEMENT').value=item.path;
    	}else{
    		// Otherwise read it from params.currentPath
    		document.getElementById('ID_OF_PATH_ELEMENT').value=params.currentPath;
    	}
    }
    
    


    I hope it helps

    Edit:
    I'm not sure why the letter S appears small in onselect in the code above
  2. In Topic: Simple Text Chat Box

    Posted 9 Dec 2013

    Hello MochaNeko and sorry for the late reply

    I downloaded your files and reviewed them, and I found it better to create necessary scripts from scratch

    anyway, I have a couple of questions:
    1- since you don't have a sign in system and you want to keep it simple, how are you going to prevent a new chatter from using another chatter username and start messaging using it?

    2- and what are you going to use the email/url field for?

    here is a test link for your version of chat box DIC ChatBox mocha's version

    please clarify my two questions above in order to continue and provide you the source code explained

    Regards
  3. In Topic: fixed ratio column width

    Posted 10 Oct 2013

    Hello,

    does any of these classes (data-section, mitte, eigenschaften) adjusts the table width, if not, the table width could be what you need to change

    I change the table width to %100 and the two columns widths are changing to fit the extra space
    they are not perfectly equal but I think it's not a bad result
  4. In Topic: Simple Text Chat Box

    Posted 1 Aug 2013

    Hello everyone,

    @xDrayken, I think you're using a very old version which is too limited and has a bunch of bugs, anyways, it was just to explain the concept

    so, for you and for the others here why not trying to test the latest version of ChatBox 6.1.6
    you'll find a download link on the page

    for those who ask for multi-rooms, it's supported in this version and here is what you need to do

    Open the config.php file
    Under the Available rooms section you can add room to the $ROOMS array (room code -> room display name)

    For each room you add you have to add two files to the data folder in this convention:
    room_x.ext, onlineusers_x.ext where x is the room code and ext is the extension you specify in the config.php file for ROOM_FILE and ONLINE_FILE

    If the room code is empty ('') there is no need for the underscore ( _ ) at the end of these file names

    You can use the chat commands (rooms, cr) to list available rooms and to change the current room, or by sending the room code as a part of the query string using (rm) as variable name, something like:
    localhost/chat6/?rm=x
    

    Where x is the room code you specifed in $ROOMS array


    Finally here is the complete ChatBox 6 change log

    Regards
  5. In Topic: PHP File Browser

    Posted 21 Jun 2013

    Hello tazosmr, and thanks for the updates

    Quote

    1)to access the upper directories, you need to open search_dir.php and change the last line's


    well, as I mentioned in the tutorial the searchDir function accept the base_dir argument to limit the user from accessing an upper level

    Quote

    base_dir: string, holds the base directory which is the root directory for users, and they are not allowed to navigate to an upper level directory.

    but in javascript I set the currentPath to "images" folder, so the browser starts from the images folder at first launch and allows you to go one level up to reach the base directory you pass to the searchDir function.

    what I want to say is: it's not a bug, it's intended to do that and you're free to choose the base dir,
    anyways, it's better to define a BASE_DIR constant fro example and use it in the search_dir function as a paramaeter


    Quote

    2) a person needs to click "REFRESH" button to sort out the files. it's better to edit "index.htm" file, and instead of

    "event" might not be supported by some browsers

    check this Introduction to Events

    Regards

My Information

Member Title:
MSX
Age:
35 years old
Birthday:
September 21, 1978
Gender:
Location:
Tartous-Syria
Interests:
Javascript, Action script, php, ASP.Net VB.Net, MSSQL, MySQL
Full Name:
Ahmad Murey
Years Programming:
7
Programming Languages:
Javascript, Action script, php, ASP.Net VB.Net, MSSQL, MySQL

Contact Information

E-mail:
Click here to e-mail me
Website URL:
Website URL  http://www.zaksdg.com
LinkedIn:
http://www.linkedin.com/in/ahmadmurey

Comments

  • (2 Pages)
  • +
  • 1
  • 2
  1. Photo

    ahmad_511 Icon

    27 Aug 2013 - 03:53
    Hi Kalaishiva,
    if you post your code it will be easier to find a proper solution,
    also, this is not a good place to post a question due to the limitation of the comment , besides, it will not bring attention to anyone but me
    or you can send it to my email
  2. Photo

    kalaishiva Icon

    26 Aug 2013 - 04:03
    Hi Sir.
    i have a doubt in php.
    How can i send the datepicker value to database?
  3. Photo

    ahmad_511 Icon

    15 Jul 2013 - 12:32
    Hello dyowe,
    it's better to post your request on the forum as a reply to the topic, so I can keep an eye on it.
    and make sure to mention the features you'd like to have in the chatBox6, then I can see if I can do it :)
  4. Photo

    dyowe Icon

    15 Jul 2013 - 11:56
    request chat box like this with admin
    http://www.thomgarcia.com/cBoxv1.2/index.php
  5. Photo

    ahmad_511 Icon

    29 May 2013 - 08:34
    Hello annuaki,
    Thanks for bringing this up to my attention
    I'll try to answer your questions ASAP
  6. Photo

    annunaki Icon

    29 May 2013 - 08:10
    Hi can I bring your attention to http://www.dreamincode.net/forums/topic/44808-simple-text-chat-box
    kind regards
  7. Photo

    ahmad_511 Icon

    18 Apr 2013 - 15:31
    Hi kalaishiva,
    are you talking about the chatbox? if so all you need to do is to enable the FB login as described in the documentation here
    http://zaksdg.com/forums/index.php?topic=25.0
    see Integration section
    If you still have problems, you can send more details on the forum (the comment has a limited characters count)
  8. Photo

    kalaishiva Icon

    18 Apr 2013 - 04:35
    Hi Sir
    How r u?
    I have a doubt in Editing and upload an profile picture like facebook.So pl do ur needful.
  9. Photo

    kalaishiva Icon

    02 Feb 2013 - 01:50
    thank u Sir..
  10. Photo

    ahmad_511 Icon

    31 Jan 2013 - 01:55
    Hi kalaishiva
    first of, please check out the latest version which has better code design and a lot more features
    http://www.dreamincode.net/forums/topic/44808-simple-text-chat-box/page__view__findpost__p__1656749
    you can select the person(s) you ant to chat with from the online users panel to make a private chat with him/them
    for further questions please use the forum due t...
  11. Photo

    kalaishiva Icon

    30 Jan 2013 - 22:18
    hi sir,thanks for your chat box tutorial
    Its very useful for me. But for me 1 doubt, how to chat with individual person.
    pl try to help me sir.
  12. Photo

    assema Icon

    05 Aug 2012 - 22:34
    hello,
    thanks for your tutorial (simple chat in PHP, js, css).
    I have one question, I want to create a multiple-rooms chat, how I can to add the another room for this chat
  13. Photo

    ahmad_511 Icon

    22 Feb 2012 - 13:40
    Hi Jelle,
    I've been recently asked to add some features to the chatbox, like including avatars, admin commands and auto announcements.
    so, I took opportunity to review the code and make it lighter and easier to adjust and implement.
    the only problem is I'm too busy to post the new updates.
    add the chatbox tutorial to your watch list so you'll get notified o...
  14. Photo

    jelleluiken Icon

    22 Feb 2012 - 05:09
    Hello ahmad_511,
    nice Tutorials, I am gonnna make my own site. I want to use your chatbox on my site but do u get any tips for me?
    ____________________________
    Greetings, Jelle Luiken
  15. Photo

    ahmad_511 Icon

    07 Feb 2012 - 12:03
    @Mister Fox, the chances to get your problem solved will be greater if you post it here on the forums, besides, the solution you'll get may help others.
    but you can still email me if you want(use the E-mail link in my contact information above, I'll then take it from there)
  • (2 Pages)
  • +
  • 1
  • 2