09-13-2011, 06:08 AM
09-13-2011, 06:58 AM
(09-13-2011 06:08 AM)asadkhan1084 Wrote: [ -> ]yep thats right bro. i m just wondering, can i add some more extra option like size, price, eye colour ect??
Price?
09-13-2011, 08:03 AM
Last time I checked, hookers don't work for free.
09-17-2011, 02:19 AM
I can understand now what asadkhan1084 meant by the "dating/escort". That's why I feel that it's like a "human showcase/gallery".
You can add whatever fields you want to that application. At least you need to know how to add a custom thread fields.
(09-13-2011 06:08 AM)asadkhan1084 Wrote: [ -> ]yep thats right bro. i m just wondering, can i add some more extra option like size, price, eye colour ect??
You can add whatever fields you want to that application. At least you need to know how to add a custom thread fields.
09-17-2011, 03:49 AM
ok thx bro,i m still waiting for the codes to create dating forums. cheers
09-17-2011, 04:58 AM
You can try to modify this (most of these are the same as the trading forum):
Forum Setting:
Custom Thread Fields Setting:
New templates in Global Template:
Forum Setting:
- Template Prefix: dating_
- Thread Grouping: 2
- Show first post on every showthread page: Yes
- Enable XThreads' Inline Forum Search: Yes
- Force Postbit Layout: Force horizontal postbit layout
- Allow Blank Post Message: Yes
- Hide Forum: Yes
Put this forum url manually in our templates (e.g: header template).
Custom Thread Fields Setting:
- Option Buttons for Gender:
- Title: Gender
- Key: dating_gender
- Applicable Forums: 'select the dating forum'
- Input Field Type: Option Buttons
- Values List:
Code:Male Female
- Editable by / Required Field?: Everyone (required)
- Display Order: 1
- Allow Filtering: Yes
- Checkboxes for In Calls / Out Calls (what is this?):
- Title: In Calls / Out Calls
- Key: dating_icoc
- Applicable Forums: 'select the dating forum'
- Input Field Type: Checkboxes
- Values List:
Code:In Calls Out Calls
- Editable by / Required Field?: Everyone (required)
- Display Order: 2
- Allow Filtering: Yes
- Allow multiple values for this field: Yes
- Multiple Value Delimiter:
Code:
,
- Textbox for Age:
- Title: Age
- Key: dating_age
- Applicable Forums: 'select the dating forum'
- Input Field Type: Textbox
- Maximum Text Length: 2
- Field Input Width: 2
- Editable by / Required Field?: Everyone (required)
- Display Order: 3
- Underlying Data Type: Integer (unsigned)
- Text Mask Filter: Digits
- Textbox for Working Hours (?):
- Title: Working Hours
- Key: dating_wh
- Applicable Forums: 'select the dating forum'
- Input Field Type: Textbox
- Maximum Text Length: 2
- Field Input Width: 2
- Editable by / Required Field?: Everyone
- Display Order: 4
- Underlying Data Type: Integer (unsigned)
- Text Mask Filter: Digits
- Textbox for Phone Number:
- Title: Phone Number
- Key: dating_pn
- Applicable Forums: 'select the dating forum'
- Input Field Type: Textbox
- Editable by / Required Field?: Everyone
- Display Order: 5
- File Input for Photo:
- Title: Photo
- Key: dating_photo
- Applicable Forums: 'select the dating forum'
- Input Field Type: File
- Valid File Extensions: gif|png|jpg|jpeg
- Maximum File Size: 102400
- Editable by / Required Field?: Everyone (required)
- Display Order: 6
- Only accept uploaded images: Yes
- Minimum Image Dimensions: 160x120
- Maximum Image Dimensions: 1024x768
- Image Thumbnail Generation: 160x120
- Display Format:
HTML Code<a href="{URL}" target="_blank"><img src="{URL}/thumb160x120" alt="" title="" /></a>
New templates in Global Template:
- dating_forumdisplay_group_sep
HTML Code</tr><tr>
- dating_forumdisplay_nothreads
HTML Code<td> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"> <tr> <td class="tcat"> <strong>No Results</strong> </td> </tr> <tr> <td align="center" class="trow1"> {$lang->nothreads} </td> </tr> </table> </td>
- dating_forumdisplay_searchforum_inline
HTML Code<table border="0" cellspacing="{$GLOBALS['theme']['borderwidth']}" cellpadding="{$GLOBALS['theme']['tablespace']}" class="tborder" style="clear: both;"> <tr><td class="thead"><strong>Filter & Search Dating</strong></td></tr> <tr> <td class="trow1" align="center"> <form action="forumdisplay.php" method="get"> <strong>Gender:</strong> <select name="filtertf_dating_gender"> <option value="">All</option> <option value="Male"{$GLOBALS['filters_set']['dating_gender']['selected']['Male']}>Male</option> <option value="Female"{$GLOBALS['filters_set']['dating_gender']['selected']['Female']}>Female</option> </select> <label style="font-weight: bold;"><input type="checkbox" name="filtertf_dating_icoc[]" value="In Calls"{$GLOBALS['filters_set']['dating_icoc']['checked']['In Calls']} /> In Calls</label> <label style="font-weight: bold;"><input type="checkbox" name="filtertf_dating_icoc[]" value="Out Calls"{$GLOBALS['filters_set']['dating_icoc']['checked']['Out Calls']} /> Out Calls</label> <input type="text" class="textbox" name="search" size="35" value="{$searchval}" /> {$gobutton} <input type="hidden" name="fid" value="{$fid}" /> <input type="hidden" name="sortby" value="{$sortby}" /> <input type="hidden" name="order" value="{$sortordernow}" /> <input type="hidden" name="datecut" value="{$datecut}" /> </form> </td> </tr> </table> <br />
- dating_forumdisplay_sticky_sep
HTML Code<td colspan="{$colspan}" style="display: none;"></td> </tr> <tr>
- dating_forumdisplay_thread
HTML Code<td width="50%" valign="top"> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"> <tr> <td class="thead" colspan="{$colspan}" align="center"> <strong><a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a></strong> </td> </tr> <tr> <td class="tcat smalltext" align="center"> <strong>{$thread['profilelink']}, {$thread['threaddate']} at {$thread['threadtime']}</strong> </td> {$modbit} </tr> <tr> <td class="trow1" align="center" valign="middle" colspan="{$colspan}"> <table width="100%" border="0" style="height: 189px;"> <tr> <td width="1" align="center" valign="middle"> <a href="{$thread['threadlink']}">{$GLOBALS['threadfields']['dating_photo']['value']}</a> {$rating} <div style="text-align: center;"> <strong>{$GLOBALS['threadfields']['dating_gender']} ({$GLOBALS['threadfields']['dating_age']})</strong> </div> </td> </tr> </table> </td> </tr> <tr> <td class="tcat" colspan="{$colspan}" align="center"> <strong>{$GLOBALS['threadfields']['dating_icoc']}</strong> </td> </tr> <tr> <td class="tfoot" align="center" colspan="{$colspan}"> <strong>{$thread['views']} {$lang->views}, <a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts} {$lang->replies}</strong> </td> </tr> </table> </td>
- dating_forumdisplay_threadlist
HTML Code<table border="0" width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}"> <tr> <td width="200" valign="top"> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;"> <tr> <td class="thead" colspan="2"> <div align="center"><strong><a href="{$forumurl}">{$foruminfo['name']}</a></strong></div> </td> </tr> <tr><td class="tcat"><strong>Gender</strong></td>{$inlinemodcol}</tr> <tr> <td class="trow1 {$filters_set['dating_gender']['active']['Male']}" colspan="2"> <a href="{$forumurl_q}filtertf_dating_gender=Male"><span><strong>Male</strong></span></a> </td> </tr> <tr> <td class="trow1 {$filters_set['dating_gender']['active']['Female']}" colspan="2"> <a href="{$forumurl_q}filtertf_dating_gender=Female"><span><strong>Female</strong></span></a> </td> </tr> <tr><td class="tcat" colspan="2"><strong>In Calls / Out Calls</strong></td></tr> <tr> <td class="trow1 {$filters_set['dating_icoc']['active']['In Calls']}" colspan="2"> <a href="{$forumurl_q}filtertf_dating_icoc=In Calls"><span><strong>In Calls</strong></span></a> </td> </tr> <tr> <td class="trow1 {$filters_set['dating_icoc']['active']['Out Calls']}" colspan="2"> <a href="{$forumurl_q}filtertf_dating_icoc=Out Calls"><span><strong>Out Calls</strong></span></a> </td> </tr> </table> <br /> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"> <tr><td class="thead"><strong>Sorter</strong></td></tr> <tr><td class="tcat"><strong>Sort By</strong></td></tr> <tr> <td class="trow1"> <strong><a href="{$sorturl}&sortby=subject&order=asc">{$lang->thread}</a> {$orderarrow['subject']}</strong> </td> </tr> <tr> <td class="trow1"> <strong><a href="{$sorturl}&sortby=starter&order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong> </td> </tr> <tr> <td class="trow1"> <strong><a href="{$sorturl}&sortby=replies&order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong> </td> </tr> <tr> <td class="trow1"> <strong><a href="{$sorturl}&sortby=views&order=desc">{$lang->views}</a> {$orderarrow['views']}</strong> </td> </tr> <tr> <td class="trow1"> <strong><a href="{$sorturl}&sortby=lastpost&order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong> </td> </tr> {$ratingcol} </table> <br /> <div> {$newthread} </div> </td> <td valign="top"> {$searchforum} <table border="0" width="100%"> <tr> {$threads}{$nullthreads} </tr> </table> <div class="float_left"> {$multipage} </div> </td> </tr> </table> <br style="clear: both;" /> <br /> <div class="float_right" style="text-align: right;"> {$inlinemod} </div> <br style="clear: both" /> <div class="smalltext" align="center"> {$foruminfo['name']}<br />Powered By <a href="http://mybbhacks.zingaburga.com/showthread.php?tid=288">XThreads</a> - <a href="http://mybbhacks.zingaburga.com">MyBB Hacks</a> </div> {$inline_edit_js}
- dating_forumdisplay_threadlist_rating
HTML Code<tr> <td class="trow1"> <strong><a href="{$sorturl}&sortby=rating&order=desc">{$lang->rating}</a> {$orderarrow['rating']}</strong> <script type="text/javascript" src="jscripts/rating.js?ver=1400"></script> <script type="text/javascript"> <!-- lang.stars = new Array(); lang.stars[1] = "{$lang->one_star}"; lang.stars[2] = "{$lang->two_stars}"; lang.stars[3] = "{$lang->three_stars}"; lang.stars[4] = "{$lang->four_stars}"; lang.stars[5] = "{$lang->five_stars}"; // --> </script> </td> </tr>
- dating_forumdisplay_threads_sep
HTML Code<td colspan="{$colspan}" style="display: none;"></td> </tr> <tr>
- dating_forumdisplay_thread_modbit
HTML Code<td width="1" class="tcat" align="center" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="inlinemod_{$multitid}" id="inlinemod_{$multitid}" value="1" {$inlinecheck} /></td>
- dating_forumdisplay_thread_null
HTML Code<td width="50%" valign="top"> <table border="0" cellspacing="{$GLOBALS['theme']['borderwidth']}" cellpadding="{$GLOBALS['theme']['tablespace']}" class="tborder"> <tr> <td class="thead" align="center"> <strong>{$GLOBALS['mybb']->settings['bbname']} {$GLOBALS['foruminfo']['name']}</strong> </td> </tr> <tr> <td class="trow1" align="center"> <strong>Currently, we have {$GLOBALS['threadcount']} Dating!</strong> </td> </tr> </table> </td>
- dating_forumdisplay_thread_rating
HTML Code<div align="center" id="rating_table_{$thread['tid']}"> <table> <tr> <td> <ul class="star_rating{$not_rated}" id="rating_thread_{$thread['tid']}"> <li style="width: {$thread['width']}%" class="current_rating" id="current_rating_{$thread['tid']}">{$ratingvotesav}</li> </ul> <script type="text/javascript"> <!-- Rating.build_forumdisplay({$thread['tid']}, { width: '{$thread['width']}', extra_class: '{$not_rated}', current_average: '{$ratingvotesav}' }); // --> </script> </td> </tr> </table> </div>
- dating_postbit
HTML Code{$ignore_bit} <a name="pid{$post['pid']}" id="pid{$post['pid']}"></a> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}"> <tr> <td class="tcat"> {$post['posturl']}<strong><span><a href="{$post['profilelink_plain']}" id="profile_{$post['pid']}">{$post['username_formatted']}</a></span></strong> {$post['onlinestatus']} - <span class="smalltext">{$post['postdate']} {$post['posttime']}</span> <div id="profile_{$post['pid']}_popup" class="popup_menu" style="display: none;"> <div class="popup_item_container"> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"> <tr> <td class="trow1" valign="top" align="center"> <div><strong>{$post['profilelink']}</strong></div> <div class="smalltext">{$post['useravatar']}</div> <div class="smalltext">{$post['usertitle']}</div> <div class="smalltext">{$post['userstars']}</div> <div class="smalltext">{$post['groupimage']}</div> <div class="smalltext">{$post['user_details']}</div> </td> </tr> <tr> <td class="tcat" align="center"> {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']} </td> </tr> </table> </div> </div> </td> </tr> <tr> <td class="{$altbg}" valign="top"> <table width="100%"> <tr> <td> <div class="smalltext" style="float: left; margin-right: 9px;" id="post_meta_{$post['pid']}"> <strong>{$post['iplogged']}</strong> </div> <div class=" float_left smalltext" style="margin-right: 9px;"> <strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong> </div> <div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div> <br /> <div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;"> {$post['message']} </div> {$post['attachments']} </td> </tr> </table> <div class="float_right smalltext"> {$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']} </div> <noscript> <div class="float_left smalltext"> {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']} </div> </noscript> </td> </tr> </table> <script type="text/javascript"> // <!-- if(use_xmlhttprequest == "1") { new PopupMenu("profile_{$post['pid']}"); } // --> </script>
- dating_postbit_first
HTML Code{$ignore_bit} <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}"> <tr> <td width="300" valign="top" style="text-align: center;"> <table border="0" cellspacing="0" cellpadding="{$theme['tablespace']}" class="tborder"> <tr> <td class="tcat" align="center"> <span class="smalltext">{$post['postdate']} {$post['posttime']}</span> </td> </tr> <tr> <td class="{$altbg}" width="250" valign="top" style="text-align: center;"> <a name="pid{$post['pid']}" id="pid{$post['pid']}"></a> <strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br /> {$post['useravatar']}<br /> <span class="smalltext"> {$post['usertitle']}<br /> {$post['userstars']} {$post['groupimage']}<br /> {$post['user_details']} </span> </td> </tr> <tr> <td class="tcat" align="center"> <span class="smalltext"> {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']} </span> </td> </tr> </table> </td> <td valign="top"> <table border="0" cellspacing="0" cellpadding="{$theme['tablespace']}" class="tborder"> <tr> <td class="tcat" colspan="3"> {$post['posturl']} <span class="smalltext"> <strong>{$post['icon']}{$post['subject_extra']}</strong> </span> </td> </tr> <tr> <td class="{$altbg}" width="160" valign="bottom" align="center"> <a href="{$GLOBALS['threadfields']['dating_photo']['url']}">{$GLOBALS['threadfields']['dating_photo']['value']}</a> </td> <td class="{$altbg}" valign="top"> <table width="100%" border="0"> <tr> <td colspan="3" align="center"> <div class="float_right" id="post_meta_{$post['pid']}"> <strong>{$post['iplogged']}</strong> </div> <div class="largetext"><strong>{$post['subject']}</strong></div> </td> </tr> <tr> <td width="130">{$GLOBALS['threadfields_x']['dating_gender']['title']}</td> <td width="1">:</td> <td>{$GLOBALS['threadfields']['dating_gender']}</td> </tr> <tr> <td>{$GLOBALS['threadfields_x']['dating_age']['title']}</td> <td>:</td> <td>{$GLOBALS['threadfields']['dating_age']}</td> </tr> <tr> <td>{$GLOBALS['threadfields_x']['dating_icoc']['title']}</td> <td>:</td> <td>{$GLOBALS['threadfields']['dating_icoc']}</td> </tr> <tr> <td>{$GLOBALS['threadfields_x']['dating_wh']['title']}</td> <td>:</td> <td>{$GLOBALS['threadfields']['dating_wh']}</td> </tr> <tr> <td>{$GLOBALS['threadfields_x']['dating_pn']['title']}</td> <td>:</td> <td>{$GLOBALS['threadfields']['dating_pn']}</td> </tr> </table> </td> </tr> <tr> <td class="{$altbg}" valign="top" colspan="3"> <table width="100%"> <tr> <td> <div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;"> {$post['message']} </div> {$post['attachments']} {$post['signature']} <div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div> </td> </tr> </table> </td> </tr> <tr valign="bottom"> <td align="right" class="tcat" colspan="3"> {$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td> </tr> </table> </td> </tr> </table>
- dating_postbit_iplogged_hiden
HTML Code<a href="moderation.php?action=getip&pid={$post['pid']}">IP</a>
- dating_showthread
HTML Code<html> <head> <title>{$thread['subject']}</title> {$headerinclude} <script type="text/javascript"> <!-- var quickdelete_confirm = "{$lang->quickdelete_confirm}"; // --> </script> <script type="text/javascript" src="jscripts/thread.js?ver=1603"></script> </head> <body> {$header} {$pollbox} <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" style="clear: both; width: 100%;"> <tr> <td align="center"> <div class="largetext"> <strong>{$thread['subject']}</strong> </div> {$ratethread} </td> </tr> </table> <br class="clear" /> <div id="posts"> {$first_post} <br /> <div align="center"> <strong>« <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> »</strong> </div> <br /> {$search_thread} <strong>Responses</strong> <br class="clear" /> {$posts} </div> <br class="clear" /> <div class="float_left"> {$multipage} </div> <div style="padding-top: 4px;" class="float_right"> {$newreply} </div> <br style="clear: both;" /> {$quickreply} {$threadexbox} {$similarthreads} <br /> <div class="smalltext" align="center"> {$forum['name']}<br />Powered By <a href="http://mybbhacks.zingaburga.com/showthread.php?tid=288">XThreads</a> - <a href="http://mybbhacks.zingaburga.com">MyBB Hacks</a> </div> <br class="clear" /> <div class="float_left"> <ul class="thread_tools"> <li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li> <li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li> <li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}&my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li> </ul> </div> <div class="float_right" style="text-align: right;"> {$moderationoptions} {$forumjump} </div> <br style="clear: both;" /> {$footer} </body> </html>
- dating_showthread_noreplies
HTML Code<br class="clear" /> <div id="xthreads_noreplies"> <table border="0" cellspacing="{$GLOBALS['theme']['borderwidth']}" cellpadding="{$GLOBALS['theme']['tablespace']}" class="tborder"> <tr> <td class="tcat"> <em><strong>No response yet</strong></em> </td> </tr> </table> </div>
- dating_showthread_ratethread
HTML Code<div align="center"> <table> <tr> <td> <script type="text/javascript" src="jscripts/rating.js?ver=1400"></script> <div id="success_rating_{$thread['tid']}"></div> <div class="inline_rating"> <ul class="star_rating{$not_rated}" id="rating_thread_{$thread['tid']}"> <li style="width: {$thread['width']}%" class="current_rating" id="current_rating_{$thread['tid']}">{$ratingvotesav}</li> <li><a class="one_star" title="{$lang->one_star}" href="./ratethread.php?tid={$thread['tid']}&rating=1&my_post_key={$mybb->post_code}">1</a></li> <li><a class="two_stars" title="{$lang->two_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=2&my_post_key={$mybb->post_code}">2</a></li> <li><a class="three_stars" title="{$lang->three_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=3&my_post_key={$mybb->post_code}">3</a></li> <li><a class="four_stars" title="{$lang->four_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=4&my_post_key={$mybb->post_code}">4</a></li> <li><a class="five_stars" title="{$lang->five_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=5&my_post_key={$mybb->post_code}">5</a></li> </ul> </div> </td> </tr> </table> </div>
- dating_showthread_search
HTML Code<div class="float_right"> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}"> <tr> <td class="tcat"> <form action="search.php" method="post"> <input type="hidden" name="action" value="thread" /> <input type="hidden" name="tid" value="{$thread['tid']}" /> <input type="text" name="keywords" value="{$lang->enter_keywords}" onfocus="if(this.value == '{$lang->enter_keywords}') { this.value = ''; }" onblur="if(this.value=='') { this.value='{$lang->enter_keywords}'; }" class="textbox" size="25" /> <input type="submit" class="button" value="{$lang->search_thread}" /> </form> </td> </tr> </table> </div>
09-17-2011, 08:04 AM
(09-13-2011 08:03 AM)ZiNgA BuRgA Wrote: [ -> ]Last time I checked, hookers don't work for free.
I had to translate "hookers" but I get it, I did not knew there were sites like that.
>_>
09-17-2011, 12:55 PM
thanks for your help.rateu
09-17-2011, 01:32 PM
incall means home and outcalls mean hotel, motel lol
09-18-2011, 10:41 AM
hi RateU, i installed the codes in forums step by step.everything is fine when i make a new thread but after posting new thread there is no changes in template, i m posting some screenshot,