Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bmack

Pages: [1]
1
Discussion & Troubleshooting / Trouble with Member Edit Profile
« on: April 18, 2008, 04:12:09 PM »
After installing some mod I started to get this error:
In e-mail field user's e-mail displayed out of the <input> field and also there dislayed this - class="input" />

I think it happened after PMv2 install and I've seen somewhere this problem but I can't find it anymore. Please, help someone!

2
Hi! I'm having such a problem...

I installed a news script, lets say that it's placed in /news/show_news.php. And I need to show this script on my 4images gallery.

I need to include this fle into my main view of the gallery. The mods from here working great with 4images but what should I do with any other script like news, for example? Sorry for such a question, I'm not really good in programming. And thanks for any help!

3
you need to put additional fields in your SQL, everything working fine!  :P

4
After install start to get this problem

Code: [Select]
DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS total FROM 4images_pm WHERE pm_to = 6430 AND (pm_type = 2 OR pm_type = 1 OR pm_type = 3 OR pm_type = PM_USDLT)
Unknown column 'PM_USDLT' in 'where clause'

DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS total FROM 4images_pm WHERE pm_from = 6430 AND (pm_type = 3 OR pm_type = PM_USDLT)
Unknown column 'PM_USDLT' in 'where clause'

DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS new FROM 4images_pm WHERE pm_to = 6430 AND (pm_type = 3 OR pm_type = PM_USDLT) ORDER BY pm_date DESC
Unknown column 'PM_USDLT' in 'where clause'

DB Error: Bad SQL Query: SELECT pm_date FROM 4images_pm WHERE pm_to = 6430 AND (pm_type = 3 OR pm_type = PM_USDLT) ORDER BY pm_date DESC
Unknown column 'PM_USDLT' in 'where clause'

how to solve it? please help!!!
можно и на русском )

5
ok, I got it. Here are first and second step.

1. Open /includes/constants.php
At the end of the file, just before closing ?> add this:

Code: [Select]
//PMS
define('PM_TABLE', $table_prefix.'pm');
define('PM_RDLT', 0); //Recipient deleted message (message only in: Sender's Setbox)
define('PM_SDLT', 1); //Sender deleted message (message only in: Recipient's Inbox)
define('PM_SENT', 2); //Recipient read message (message in: Sender's Sentbox and Recipient's Inbox)
define('PM_UNREAD', 3); //Recipient not read message (message in: Sender's Outbox and Recipient's Inbox - New Message)

2. Open /lang/<yourlanguage>/main.php
At the end of the file, just before closing ?> add this:

Code: [Select]
//--- PMS ----
$lang['pm_inbox'] = "Inbox";
$lang['pm_outbox'] = "Outbox";
$lang['pm_sentbox'] = "Sentbox";
$lang['pm_link'] = "&nbsp;&nbsp;&nbsp;You have<br />&raquo&nbsp;<b>{msg_new_count}</b> new message(s)<br />&nbsp;&nbsp;&nbsp;in your <b>{inbox}</b>.";
$lang['pm'] = "Private Messaging";
$lang['pm_short'] = "PMS";
$lang['pm_error'] = "Error";
$lang['pm_error_to'] = "You must select a recipient.";
$lang['pm_error_subject'] = "You must enter a subject.";
$lang['pm_error_message'] = "You must enter a message.";
$lang['pm_error_folder'] = "No folder selected.";
$lang['pm_error_id'] = "Nothing to show.";
$lang['pm_error_delete'] = "Nothing to delete.";
$lang['pm_compose'] = "Compose";
$lang['pm_delete'] = "Delete";
$lang['pm_delete_selected'] = "Delete selected";
$lang['pm_delete_all'] = "Delete all";
$lang['pm_delete_success'] = "The messages where deleted successfuly";
$lang['pm_delete_confirm'] = "Are you sure you want to delete that message from <b>".$lang['pms_'.$mode]."</b>?";
$lang['pm_delete_confirm_select'] = "Are you sure you want to delete selected messages from <b>".$lang['pms_'.$mode]."</b>?";
$lang['pm_delete_confirm_all'] = "Are you sure you want to delete ALL messages from <b>".$lang['pms_'.$mode]."</b>?";
$lang['pm_new'] = "New message";
$lang['pm_select_user'] = "Select a user";
$lang['pm_sent_success'] = "The message was send successfully";
$lang['pm_redirect'] = "Please wait a moment";
$lang['pm_empty'] = "No messages in this folder";
$lang['pm_reply'] = "Reply";
$lang['pm_view'] = "View message";
$lang['pm_mark'] = "Mark";
$lang['pm_edit'] = "Edit";
$lang['pm_subject'] = "Subject";
$lang['pm_message'] = "Message";
$lang['pm_to'] = "Recipient";
$lang['pm_date'] = "Date";
$lang['pm_send'] = "Send";
$lang['pm_preview'] = "Preview";
$lang['pm_status'] = "Status";
$lang['pm_from'] = "Sender";
$lang['pm_html'] = "Anable HTML in this message";
$lang['pm_bbcode'] = "Anable BBCode in this message";
$lang['pm_perpage'] = "Messages per page";
$lang['pm_user_pm'] = "PM";
$lang['pm_user_pm_alt'] = "PM to this user";
$lang['pm_total'] = "Total messages";
$lang['pm_received'] = "Received";
$lang['pm_quote'] = "Quote";
$lang['pm_error_save'] = "Error saving message. (the message could has been received)";
$lang['pm_error_notfound'] = "Can't find message.";
$lang['pm_paging_stats'] = "You have {total_cat_images} message(s) {new} on {total_pages} page(s) in your {box}.<br />Displayed: massage {first_page} to {last_page}.";
$lang['pm_email'] = "Notify by email on new Private Message";
$lang['pm_popup'] = "Pop up window on new Private Message";
$lang['pm_popup_confirm'] = "You have a new private message. Click OK to view it, or cancel to hide this prompt.";
$lang['pm_popup_newwindow'] = "Open in new window?\\n\\n(Press cancel to open your Inbox in the current window.)";
$lang['pm_email_new'] = "New private message";

run install_pm.php again and everything should be fine!

6
When I start pm_install.php I got this message:

SHOW TABLES LIKE '4images\_pm'

MOD Private Messaging v2    (by V@no)
 

Sorry, can not continue, you missed some steps of the installation..

what's the problem? And why tutorial starts from step 4? where are previous steps? may be I'm having problems with them? I've folowed instructions, dowloaded the peckege and put files from it as it placed in archieve. Please help!

7
are you taling about this?
http://www.4homepages.de/forum/index.php?topic=6692.0
if so, many thanks to you! I've found it form search. and it has all attachments needed.

8
Please someone post here original files of this mod, because they cannot be downloaded from original mod topic (http://www.4homepages.de/forum/index.php?topic=5374.0)
I'm talking about "PMS" package that described in step 1.

And one more question. Anyone can tell me why that PMS topic is closed and why PMS is not supported anymore? Will this thing work with 4images ver. 1.7.6?

Thanks a lot for any help!

Pages: [1]