الويب العربي

الويب العربي (http://www.arabwebtalk.com/index.php)
-   قسم المنتديات (http://www.arabwebtalk.com/forumdisplay.php?f=112)
-   -   هاك شكر الكاتب بتقنية الاجاكسي post_thanks_6_3_vb3_6_8AJAX ح (http://www.arabwebtalk.com/showthread.php?t=71815)

ولد السلطنة 06-12-2007 09:08 AM

هاك شكر الكاتب بتقنية الاجاكسي post_thanks_6_3_vb3_6_8AJAX ح
 
المرفقات 1
بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله وبركاته

هذا المنتج وظيفته يضيف أيقونة في المشاركات لتمكن العضو من شكر الكاتب بطريقة سريعه وسهله ومتقدمة ....لنسخة 3.6.8


تعريب فريق ::WEB-ENTER.NET::


مثال على الهاك + المصدر

http://www.web-enter.net/vb/t1231.html




طريقة تركيب الهاك ارفع ملفات الى المجلدات على حسب تسميتها كما هوه موضح

كود PHP:


[left]post_thanks.php -> \
post_thanks_admin.php -> \admincp\
post_thanks.js -> \clientscript\
functions_post_thanks.php -> \includes\
cpnav_post_thanks.xml -> \includes\xml\
hooks_post_thanks.xml -> \includes\xml\
post_thanks.gif -> \images\buttons\ [/left


تعديل القوالب

افتح قالب : MEMBERINFO

ابحث عن

كود PHP:

                        <br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
                    </if>
                </
div>
            </
div

</if>

اضف اسفله

كود PHP:

<!-- بداية كود منتج شكر الكاتب -->
$template_hook[memberinfo_foruminfo]
<!-- 
نهاية كود منتج شكر الكاتب --> 


افتح قالب : navbar

ابحث عن

كود PHP:

            <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
        </
tr

اضف اسفله

كود PHP:

<!-- بداية كود منتج شكر الكاتب -->
$template_hook[navbar_search_menu]
<!-- 
نهاية كود منتج شكر الكاتب --> 




من لوحة التحكم إفتح قالب : postbit أو postbit_lagacy

ابحث عن

كود PHP:

<!-- / controls --> 

أسفله قبله

كود PHP:

<!-- بداية كود منتج شكر الكاتب -->
$template_hook[postbit_controls]
<!-- 
نهاية كود منتج شكر الكاتب --> 


في نفس القالب
ابحث عن

كود PHP:

<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if> 

أسفله قبله

كود PHP:

<!-- بداية كود منتج شكر الكاتب -->
$template_hook[postbit_userinfo_right_after_posts]
<!-- 
نهاية كود منتج شكر الكاتب --> 


في نفس القالب
ابحث عن

كود PHP:

<!-- post $post[postidpopup menu --> 

في نفس القالب
أسفله قبله

كود PHP:

<!-- بداية كود منتج شكر الكاتب -->
$template_hook[postbit_end]
<!-- 
نهاية كود منتج شكر الكاتب --> 

إرفع الملف product-post_thanks.xml من لوحة التحكم --- التحكم بالمنتجات product ----- ارفع المنتج


من خلال التحكم تستطيع تفعيل أو تعطيل الخيارات
كما تستطيع تحديث بيانات الشكر في صفحة تحديث العدادات ...


صورة توضيحية من خلال لوحة تحكم الهاك



الأيقونة في المشاركات



عند الضغط على الايقونة تضاف مشاركة الشكر تلقائيآ



ايجاد مشاركات الشكر من البحث المتقدم




عرض بيانات الشكر في ملف الهوية أيضآ




رابط الهاك الاصلي والذي ما يريد يتوجه لرابط الاصلي موجود اقتباس من الموضوع في الاسفل

كود PHP:

http://www.vbulletin.org/forum/showthread.php?t=122944 

إقتباس:

About this hack:
One of the biggest problems on forums as you may know is 'posts boosting'. There are users who LOVE to say 'thanks' when ever they can. How can it hurt? Their post count goes up, they have nothing to loose.

There are also users who really like to express their thanks to post but don't like posting a post that looks like they're post boosting.

Then comes the moderators who have to delete people's thanks yous so a thread can look readable with out the thanks yous thrown around.

Finally comes the posters of these useful posts. They have no idea how many people really likes their posts if only some people say 'thanks'.

What this hack does is fix ALL these problems - except those users who like post boosting. This places a button called 'thanks.' When a user clicks on it, it places his username in a box right under the post saying that so-and-so says 'thanks' for the post. Every-one who clicks is placed in one box.

By giving your users the extra feature, you forum will look allot nice and organized. It is a guaranteed liking by ALL the members of your forum.

Features:
Uses vBulletin easy Product installer/updater/uninstaller
Uses AJAX technology so your users don't have to refresh when they thank.
Places an easy to use button next to the edit button
Separate looks for postbit and postbit_legacy
Places all Thanks into one small box
Uses only ONE query every time you view a showthread page!
Users can't thank twice
Option to not allow users to thank their own post
Guests don't see 'thanks' button
Counts how many thanks a user gives
Counts how many thanks a post gets
Shows how many thanks a user gave in every post of his
Shows how many thanks a user gave in profile
Shows how many thanks a user got
Shows how many posts or a user are thanked
Shows info in profile
Search for a users thanked posts
Search for all thanked posts
Administrator can remove all Thanks from a single post
Users can remove their own Thanks
Turn on and off hack totally
Turn on and off hack for only some forums
Option to turn off hack for all but the first post of a thread
Option to turn off hack for all but the first post of a thread in specific forums
Option to turn off hack view of date for specific or all forums
Option to add to post count when someone clicks 'thanks'.
Option to give a user who receives thanks reputation points.
Ban Usergroups
Ban Users
Uses Phrases
Cache Templates
Guaranteed to be liked by ALL users on your forum!
Installation information on hack:
Files edited: 0
Templates edited: 0
Files to upload: 7
Time to install: 1 minute max

Updates:

Version 5.0 (08/03/06):
Release of this hack for vBulletin version 3.6

Version 5.1 (09/14/06):
AJAX disabled if you have AJAX disabled on your forum.
Re-did the search for thanked posts.
Fixed bugs with adding and deleting rep points.

Version 5.2 (10/21/06):
Optimized AJAX code
rel="nofollow" added to all links

Version 5.3 (10/26/06):
fixed minor issue with 'post_thanks_box_bit' template
added to showpost
Better integration with Post Groan Hack.

Version 6.0 (04/06/07):
Totally re-wrote hack - please redo all template edits
AJAX code moved to a file.
templates are cached in showpost
NEW - Option to delete all of a users thanks.
Post thanks actions moved to files.
New ACP options.
Index the PostID column in the post_thanks table
If you delete a user, all this thanks are deleted.
When you change a Username, any thanks he gave his name changes by.
When you physically remove a post, the thanks are deleted.
New Setting - Post Count Needed to Use the Thanks Button
Delete thanks when you hard delete a thread.
New Setting - Ban Usergroups from Getting Thanks
New Setting - Disable Giving Thanks if Post is X Days Old
Much better security checking to make sure a user can use the thank you button.
Any many more changes.

Version 6.1 (05/14/07):
No more template edits You do not have to make any template edits to run this hack.
better cache of templates
vBulletin 3.6.6 and up is needed to run this version
Fixed extra queries from running if you had no thanks on a page.
Fixed deleting all of a users thanks.
A few more tweaks here and there.

Version 6.2 (05/21/07):
Fixed a template caching bug.
No file edits. Just upload the product XML.

Version 6.3 (07/30/07):
Moved post thanks stats in postbit from hook postbit_userinfo_right to hook postbit_userinfo_right_after_posts. (for vb 3.6.8 and <3.6.6)
Released for all versions of vb 3.6.x


تحميل الهاك من الرابط التالي او من المرفقات

http://www.web-enter.net/up//downloa...a059ab1f1d.zip

algabil 06-12-2007 11:28 PM

إقتباس:

اقتباس من مشاركة ولد السلطنة (المشاركة 410668)
بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله وبركاته

هذا المنتج وظيفته يضيف أيقونة في المشاركات لتمكن العضو من شكر الكاتب بطريقة سريعه وسهله ومتقدمة ....لنسخة 3.6.8


تعريب فريق ::WEB-ENTER.NET::


مثال على الهاك + المصدر

http://www.web-enter.net/vb/t1231.html




طريقة تركيب الهاك ارفع ملفات الى المجلدات على حسب تسميتها كما هوه موضح

كود PHP:


[left]post_thanks.php -> \
post_thanks_admin.php -> \admincp\
post_thanks.js -> \clientscript\
functions_post_thanks.php -> \includes\
cpnav_post_thanks.xml -> \includes\xml\
hooks_post_thanks.xml -> \includes\xml\
post_thanks.gif -> \images\buttons\ [/left


تعديل القوالب

افتح قالب : MEMBERINFO

ابحث عن

كود PHP:

                        <br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
                    </if>
                </
div>
            </
div

</if>

اضف اسفله

كود PHP:

<!-- بداية كود منتج شكر الكاتب -->
$template_hook[memberinfo_foruminfo]
<!-- 
نهاية كود منتج شكر الكاتب --> 


افتح قالب : navbar

ابحث عن

كود PHP:

            <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
        </
tr

اضف اسفله

كود PHP:

<!-- بداية كود منتج شكر الكاتب -->
$template_hook[navbar_search_menu]
<!-- 
نهاية كود منتج شكر الكاتب --> 




من لوحة التحكم إفتح قالب : postbit أو postbit_lagacy

ابحث عن

كود PHP:

<!-- / controls --> 

أسفله قبله

كود PHP:

<!-- بداية كود منتج شكر الكاتب -->
$template_hook[postbit_controls]
<!-- 
نهاية كود منتج شكر الكاتب --> 


في نفس القالب
ابحث عن

كود PHP:

<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if> 

أسفله قبله

كود PHP:

<!-- بداية كود منتج شكر الكاتب -->
$template_hook[postbit_userinfo_right_after_posts]
<!-- 
نهاية كود منتج شكر الكاتب --> 


في نفس القالب
ابحث عن

كود PHP:

<!-- post $post[postidpopup menu --> 

في نفس القالب
أسفله قبله

كود PHP:

<!-- بداية كود منتج شكر الكاتب -->
$template_hook[postbit_end]
<!-- 
نهاية كود منتج شكر الكاتب --> 

إرفع الملف product-post_thanks.xml من لوحة التحكم --- التحكم بالمنتجات product ----- ارفع المنتج


من خلال التحكم تستطيع تفعيل أو تعطيل الخيارات
كما تستطيع تحديث بيانات الشكر في صفحة تحديث العدادات ...


صورة توضيحية من خلال لوحة تحكم الهاك



الأيقونة في المشاركات



عند الضغط على الايقونة تضاف مشاركة الشكر تلقائيآ



ايجاد مشاركات الشكر من البحث المتقدم




عرض بيانات الشكر في ملف الهوية أيضآ




رابط الهاك الاصلي والذي ما يريد يتوجه لرابط الاصلي موجود اقتباس من الموضوع في الاسفل

كود PHP:

http://www.vbulletin.org/forum/showthread.php?t=122944 




تحميل الهاك من الرابط التالي او من المرفقات

http://www.web-enter.net/up//downloa...a059ab1f1d.zip




مشكورررررررررررررر


جميع الأوقات بتوقيت مكة المكرمة. الساعة الآن » 06:32 PM.

Powered by vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © ArabWebTalk.Com 2004-2012