[Beta] Contact Board Administration 0.1.4

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
Locked
User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm
Location: Mainz, Germany
Name: Dukagjin Surdulli
Contact:

Re: [Beta] Contact Board Administration 0.1.4

Post by Dugi » Tue Sep 23, 2008 5:25 pm

hey evil i have a problem:

Image

note: i can't find the code that u wrote to find in buttons.CSS file
PM me for custom extension pricing / My validated MODs / My MODs in development

User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3471
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Re: [Beta] Contact Board Administration 0.1.4

Post by bonelifer » Tue Sep 23, 2008 6:49 pm

Dugi if you are referring to the code that refers to "rtl", then that has been moved to the bidi.css file.

Also you need to add the Language files provided in the archive, that's why it's showing the variable. As for placement it seems evil<3 code doesn't work right. It looks more like code for subsilver2. Here's what I've done.

OPEN

Code: Select all

styles/prosilver/template/overall_header.html
FIND

Code: Select all

<ul class="linklist rightside">
AFTER, ADD

Code: Select all

<!-- IF S_CONTACT_ENABLED --><li class="icon-contact"><a href="{U_CONTACT}" title="{L_CONTACT_BOARD_ADMIN}">{L_CONTACT_BOARD_ADMIN_SHORT}</a></li> <!-- ENDIF -->
Example of what my code looks like:
Image
Knowledge Base | phpBB Board Rules | Search Customisation Database
Image
Please don't contact me via PM or email for phpBB support .

User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm
Location: Mainz, Germany
Name: Dukagjin Surdulli
Contact:

Re: [Beta] Contact Board Administration 0.1.4

Post by Dugi » Tue Sep 23, 2008 9:00 pm

thanks mate

result:

Image
PM me for custom extension pricing / My validated MODs / My MODs in development

User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm
Location: Mainz, Germany
Name: Dukagjin Surdulli
Contact:

Re: [Beta] Contact Board Administration 0.1.4

Post by Dugi » Wed Sep 24, 2008 12:22 pm

i made some very small changes on that CODE:
i added the contact function in the footer (looks better)

Picture from index page:

Image

Picture in a topic:

Image

How to make this??

Open: styles/prosilver/templates/overall_header.html

Find and remove:

Code: Select all

<!-- IF S_CONTACT_ENABLED --><a href="{U_CONTACT}"><img src="{T_THEME_PATH}/images/icon_mini_contact.gif" width="12" height="13" alt="{L_CONTACT_BOARD_ADMIN_SHORT}" /> {L_CONTACT_BOARD_ADMIN_SHORT}</a>&nbsp; &nbsp;<!-- ENDIF -->
Open: styles/prosilver/templates/overall_footer.html

Find:

Code: Select all

<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
Inline add after:

Code: Select all

<!-- IF S_CONTACT_ENABLED --><li class="icon-contact"><a href="{U_CONTACT}" title="Contact Board Administrator">Contact</a></li> <!-- ENDIF -->
And done for adding in footer!
PM me for custom extension pricing / My validated MODs / My MODs in development

User avatar
mehrdad_epark.ir
Registered User
Posts: 87
Joined: Thu Jul 31, 2008 3:08 pm

Re: [Beta] Contact Board Administration 0.1.4

Post by mehrdad_epark.ir » Thu Sep 25, 2008 5:07 am

mehrdad_epark.ir wrote:hi , can you help me ?
I installed "Photo Visual Confirmation 1.0.0".and now I'm installing "Contact Board Administration 0.1.4".Confirmation in Contact Board Administration has Problem.
please say me how can I fix this problem so that using " Photo Visual Confirmation" in cantact page , too.

Photo Visual Confirmation : http://www.phpbb.com/community/viewtopi ... 0&t=548249

thanks
who knows answer of this question ?

User avatar
mehrdad_epark.ir
Registered User
Posts: 87
Joined: Thu Jul 31, 2008 3:08 pm

Re: [Beta] Contact Board Administration 0.1.4

Post by mehrdad_epark.ir » Tue Oct 07, 2008 10:58 am

hi!
There is problem! when our visitors send a Arabic or Farsi message to us on a board we cant see their messages.

example :
سلام بر شما دوست عزیز ====>(message change to): ??????????? ??????? ????????? ??????

what can i do?

User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: [Beta] Contact Board Administration 0.1.4

Post by ChriZathens » Tue Oct 07, 2008 12:02 pm

open contact.php

find

Code: Select all

$subject        = str_replace("\n", '', trim(request_var('subject', '')));
$message        = trim(request_var('message', ''));
$reason            = str_replace("\n", '', request_var('reason', ''));
    
replace with

Code: Select all

$subject        = str_replace("\n", '', trim(request_var('subject', '', true)));
$message        = trim(request_var('message', '', true));
$reason            = str_replace("\n", '', request_var('reason', '', true));
    
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...

User avatar
mehrdad_epark.ir
Registered User
Posts: 87
Joined: Thu Jul 31, 2008 3:08 pm

Re: [Beta] Contact Board Administration 0.1.4

Post by mehrdad_epark.ir » Tue Oct 07, 2008 8:15 pm

open contact.php

find

Code: Select all

    $subject        = str_replace("\n", '', trim(request_var('subject', '')));
    $message        = trim(request_var('message', ''));
    $reason            = str_replace("\n", '', request_var('reason', ''));
replace with

Code: Select all

    $subject        = str_replace("\n", '', trim(request_var('subject', '', true)));
    $message        = trim(request_var('message', '', true));
    $reason            = str_replace("\n", '', request_var('reason', '', true));
thank you very much my dear friend!

uncletadd
Registered User
Posts: 3
Joined: Thu May 29, 2008 11:13 pm

Re: [Beta] Contact Board Administration 0.1.4

Post by uncletadd » Tue Oct 07, 2008 10:50 pm

I am usin phpbb3.0.2 Installed the mod successfully. I got no errors. I simply can not see the link. tried to browse onto the contact.php page but i am getting error
The database for the contact page has not been updated yet. Please wait for an administrator to update it.
tried refreshing and deleting cache. nothing is happening. what can i do to get this form to show.

regards

User avatar
BizimPencere
Registered User
Posts: 396
Joined: Sat Aug 25, 2007 8:31 pm

Re: [Beta] Contact Board Administration 0.1.4

Post by BizimPencere » Wed Oct 08, 2008 10:17 am

Its this mod 3.0.2 compatible?
www.phpbbturkiye.net | Turkish phpBB3 support and development

the.ronin
Registered User
Posts: 184
Joined: Sun Oct 05, 2008 10:53 pm

Re: [Beta] Contact Board Administration 0.1.4

Post by the.ronin » Mon Oct 20, 2008 5:17 am

Evil, your mods rock. Between this and the Fast Reply mod, you come up with the true essentials!

In action ... Tribal Surf :D
Last edited by the.ronin on Tue Oct 21, 2008 2:50 am, edited 1 time in total.

autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: [Beta] Contact Board Administration 0.1.4

Post by autinhyeu » Mon Oct 20, 2008 5:33 am

Thanks for this MOD, great ;)
Regards
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [Beta] Contact Board Administration 0.1.4

Post by igorw » Mon Oct 20, 2008 4:01 pm

the.ronin wrote:Evil, your mods rock. Between this and the Fast Reply mod, you come up with the true essentials!

In action ... Tribal Surf :D
I will not be able to see your localhost. ;)
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

the.ronin
Registered User
Posts: 184
Joined: Sun Oct 05, 2008 10:53 pm

Re: [Beta] Contact Board Administration 0.1.4

Post by the.ronin » Tue Oct 21, 2008 2:50 am

eviL<3 wrote:
the.ronin wrote:Evil, your mods rock. Between this and the Fast Reply mod, you come up with the true essentials!

In action ... Tribal Surf :D
I will not be able to see your localhost. ;)
BUHAHAHAHA ... that's what happens when you do too much phpbb3 modding. You forget which tab is the local and which is the remote. Link fixed in the quote and original post ^^.

lbkk
Registered User
Posts: 10
Joined: Tue Oct 21, 2008 6:03 pm

Re: [Beta] Contact Board Administration 0.1.4

Post by lbkk » Thu Oct 23, 2008 3:08 pm

thanks for sharing this great contact.php, I like to use it at my forum
also thanks for all great questions and answer here, I learn a lot
here's my questions:

I read through all pages here, follow the step, check all setup and enable it at ACP but it still give me
" You can not use the contact form at the moment, because it has been disabled. "

here's what I think I may do wrong:
1) I am using "Style Coffee Time for phpBB3 3.0.2" so when I run the install.xml template files & theme files suppose copy to prosilver, I copy to this Style Coffee Time's theme & template. Is it right?

2) database already setup for the forum.
at the config.php, find out the database table got leave blank (( $table_prefix = ''; ))
then I edit the config.php to (( $table_prefix = phpbb_''; ))
run SQL
INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('contact_enable', 1, 0)
It said table not find, how do I fix it?

thanks ahead

Locked

Return to “[3.0.x] MODs in Development”