Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 13, 2012, 01:27:00 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
149700
Posts in
21103
Topics by
7538
Members
Latest Member:
ionline
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
PM Messanger
Pages:
1
2
3
[
4
]
5
Go Down
Author
Topic: PM Messanger (Read 12166 times)
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #75 on:
February 02, 2010, 10:31:36 PM »
where in which line ?
Now suggestion works in forntend ?
«
Last Edit: February 02, 2010, 10:33:31 PM by crnogorac081
»
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
JC
Offline
Posts: 56
Re: PM Messanger
«
Reply #76 on:
February 02, 2010, 10:53:05 PM »
If you look at the attached file below, then you'll see that I added a line(on line 10 in the new file) and I added a / in the second "strong"-element on line 61(in the new file).
The line I added I took from the file "be.usermng.php"
Now the bold text is gone, and the suggestion works fine in frontend now!
/JC
Logged
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #77 on:
February 03, 2010, 01:17:41 AM »
Yes I saw at first that you added script to call JQuery script.
So if you didnt touch anything, it would work, right
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
JC
Offline
Posts: 56
Re: PM Messanger
«
Reply #78 on:
February 03, 2010, 04:33:32 PM »
The suggestionpart didn't work in the frontend when I installed the module, but now it works fine with the alterations I made.
Logged
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #79 on:
February 03, 2010, 04:41:06 PM »
Yes, you are right, it is not mentioned that it requires JQuery to be included in template. I will edit first post..
cheers
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
oeh
Offline
Posts: 190
Re: PM Messanger
«
Reply #80 on:
February 03, 2010, 08:40:29 PM »
Norwegian language file.
Logged
Good bye ;-{(
oeh ;-}>
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #81 on:
February 03, 2010, 08:46:21 PM »
thanks guys for language translation, I will wait a while and then update the original package. So far they are posted on first post.
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
JC
Offline
Posts: 56
Re: PM Messanger
«
Reply #82 on:
February 03, 2010, 08:50:13 PM »
@crnogorac081
I'm sorry, but I totally misunderstood you about having the jquery in the template a few posts ago! Thank you for your patience!
Cheers
Logged
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #83 on:
February 03, 2010, 09:06:06 PM »
@JC
If I were you, and If I am using Jquery for some other modules too, I would remove the line you added to call jquery script in fe.send.php and include it in the template's index.php file.
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #84 on:
February 04, 2010, 02:36:19 PM »
Thanks
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Pumpi
Offline
Posts: 556
Re: PM Messanger
«
Reply #85 on:
February 05, 2010, 09:06:48 AM »
Hey,
i have look a littel bit in the source.
use nl2br($ContentVariable)
yet you have visible all new lines where the user input by sending the message
Logged
My Module for Websitebaker - Foldergallery 1.17
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #86 on:
February 05, 2010, 09:24:39 AM »
what do you men you new lines are visible?
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Pumpi
Offline
Posts: 556
Re: PM Messanger
«
Reply #87 on:
February 05, 2010, 10:16:50 AM »
When one user Write an Message in his input Field
Quote
Hello
who are you
mfg Pumpi
He write in the Database
Code:
Hello\nl\nlwho are you\nl\nlmfg Pumpi
The he looks in html
Quote
Hello who are you mfg Pumpi
when you use
Code:
nl2br($Message)
PHP Replace the \nl with an html tag <br> and it looks exactly who write the other User
Logged
My Module for Websitebaker - Foldergallery 1.17
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #88 on:
February 05, 2010, 11:58:47 AM »
Thanks, I get it now..
I sent only short sentences for test purposes..
didnt use line breaks
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #89 on:
February 05, 2010, 12:27:11 PM »
Version 2.2 released
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Pumpi
Offline
Posts: 556
Re: PM Messanger
«
Reply #90 on:
February 08, 2010, 10:02:28 AM »
Verry nice.
I try to use an Charcounter on the message_content area. I test any plugins from Jquery but nothing run i dont know why. Can anyone help me?
Logged
My Module for Websitebaker - Foldergallery 1.17
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #91 on:
February 08, 2010, 05:07:16 PM »
post the code so I can take a look
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #92 on:
February 08, 2010, 08:58:45 PM »
Hi Pumpi,
Replace file attached with the one from module folder.
Also, add this line to language file (EN.php or whatever you use..) Do not remove %s , it is character counter..
Code:
$PM_MODULE['CHARS_LEFT'] = '%s characters left';
cheers
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Pumpi
Offline
Posts: 556
Re: PM Messanger
«
Reply #93 on:
February 08, 2010, 09:32:54 PM »
verry nice
i dont understand why it runs by you but big thx
Logged
My Module for Websitebaker - Foldergallery 1.17
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #94 on:
February 08, 2010, 10:49:30 PM »
well,
there were some extra coding required
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Pumpi
Offline
Posts: 556
Re: PM Messanger
«
Reply #95 on:
February 09, 2010, 09:05:52 AM »
I have an other tip for your Coding.
When you like echo anything you dont must user an echo for every row.
You can write it so
Code:
echo ='<table>
<tr>
<td>first td</td>
<td>second td</td>
</tr>
</table>';
then you have in the output source not only one row you have exactly the output with rows an spaces
An other thing. in the css for the usersearch you have give the div the atribut position: relative this makes that the site going bigger. giv it the atribut position: absolute and delete the left: 100px and it is alwasy over the site and exactly unter the input.
I have actualy put the inputs and the titels in an table it looks better then only an title <br>input.
in Futur i like an Email notifivation i code it an give you the source when you like
Logged
My Module for Websitebaker - Foldergallery 1.17
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #96 on:
February 09, 2010, 09:30:09 AM »
we can make an option to check if you want to send notification via email
You can post the source code so I can take a look.
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
kweitzel
Forum administrator
Offline
Posts: 6823
Re: PM Messanger
«
Reply #97 on:
February 09, 2010, 09:36:26 AM »
Might it be, that you are relying on the username of the first / admin user to be admin? In my Opinion the restrictions should be based on the group.
I am trying this module for a site, where the admin user is not called admin and that user does not have the permissions to modify the page where the module is used. It can only be modified by the user admin.
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: PM Messanger
«
Reply #98 on:
February 09, 2010, 09:56:45 AM »
I would need some help then with the code, how to check if user is in admin group
<- See Edit2
Edit:
you can login as Admin, and then change username in settings from Admin to Whatever..
Edit2:
Also, there was a huge discussion about privacy, so I made only ONE username can access the backend..(Super admin or site owner..)
«
Last Edit: February 09, 2010, 10:00:04 AM by crnogorac081
»
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Pumpi
Offline
Posts: 556
Re: PM Messanger
«
Reply #99 on:
February 09, 2010, 10:08:31 AM »
Quote from: crnogorac081 on February 09, 2010, 09:56:45 AM
I would need some help then with the code, how to check if user is in admin group
<- See Edit2
Edit:
you can login as Admin, and then change username in settings from Admin to Whatever..
Edit2:
Also, there was a huge discussion about privacy, so I made only ONE username can access the backend..(Super admin or site owner..)
why do not check the userid the superadmin have allways id 1 then we must not edit the mysql value for this an everyone can named her admin his own wish
i thinks also this module have a big futur for WB but there are some thins we must do i try to help you i have it in use then we can optimize it when you like
Logged
My Module for Websitebaker - Foldergallery 1.17
Pages:
1
2
3
[
4
]
5
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...