ارجو من اصحاب العضويات في الفبيلتون اورج
ارفاق هذا الهاك مع التعديلات اللازمة و مشكور مقدما وجزاكم الله كل خير
Resize IMG tag with Highslide! - vBulletin.org Forum
Site Life Status - vBulletin.org Forum
ارجو من اصحاب العضويات في الفبيلتون اورج
ارفاق هذا الهاك مع التعديلات اللازمة و مشكور مقدما وجزاكم الله كل خير
Resize IMG tag with Highslide! - vBulletin.org Forum
Site Life Status - vBulletin.org Forum
__________________
( اللهم إنك عفوٌ كريمٌ تحب العفو فاعف عني )
php Developer
Short - Unshort Url | Moslsly.com
Install:
1. Upload folder 'highslide' into forum root.
2. Edit file 'includes/class_bbcode.php'
find: inline 1940 ~ 1955
Code:
return '<img src="' . $link . '" border="0" alt="" />';Replace with:
Code:
/* Start Image RESIZE */
$navigator_user_agent = ( isset( $_SERVER['HTTP_USER_AGENT'] ) ) ? strtolower( $_SERVER['HTTP_USER_AGENT'] ) : '';
if (stristr($navigator_user_agent, "msie")) {
return '<a href="' . $link . '" class="highslide" onclick="return hs.expand(this)" ><img src="' . $link . '" border="0" alt="" style="width: expression(this.width > 340 ? 180 : true);" /></a>';
} else {
return '<a href="' . $link . '" class="highslide" onclick="return hs.expand(this)" ><img src="' . $link . '" border="0" alt="" style="max-width: 430px;" /></a>';
}
/* End Image RESIZE */You can change max width resize.
3. Import XML File: AdminCP -> Plugin System -> Manage Products -> Add / Import Product
Update: Use highslide for Attachment Thumbnail
4. Open Temp. postbit_attachmentthumbnail
Replace with:
PHP Code:
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]" class="highslide" onclick="return hs.expand(this)" id="attachment$attachment[attachmentid]"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1&d=$attachment[thumbnail_dateline]" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" style="width: expression(this.width > 140 ? 80 : true);" /></a>
<if condition="$show['br']"><br /><br /></if>
That´s all
Have fun!
__________________
ننتظر فكرة باذن لله
تحياتي...............
Site Life Status for vB3.7
Version 1.0.3
(By Boofo)
What does this product do?
This product will add a Site Life Status info area, including Site Startup Date, Site Age and a Pagehits counter to your forumhome What's Going On box.
Version Information:
Version 1.0.1 --Initial release for vB3.7
Version 1.0.2 --Fixed changed variable in the template manual edit code.
Version 1.0.3 --Added phrases for counter. Now fully phrased.
NOTE: You will need to uninstall any previous version and do a clean install of 1.0.3 to upgrade.
Credits:
A big thank you goes out to Shawn Dean for supplying the javascript code for the Site Age counter.
Installation overview:
Products to install: (1)
Templates to edit: (1) - Optional
Files to Upload: (2)
Images to upload (1)
Installation Instructions:
1. Upload the forumhome_pagehits.txt file to your domain root directory.
2. Upload life_status.gif to the images/misc folder on your site.
3. Upload site_life.js to the clientscript folder on your site.
4. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-site_lifestatus.xml file on your computer
5. Go to your Admin CP
Step 3: Go to your Admin CP -> vBulletin Options -> Help Site Life Status and set the following options:
--Site Life Status Enable: Enable/Disable the Site Life Status.
--Site Life Status Startup Date: Enter your site startup date.
--Site Life Status Automatic Template Replace: Click yes to have the template automatically edited.
--Site Life Status Pagehits File Path: Enter the DOCUMENT_ROOT path for the forumhome_pagehits.txt file.
If you don't know what your DOCUMENT_ROOT path is, go to the Admin CP and in the left column look for:
'Maintenance -> View PHP Info -> Apache Environment -> DOCUMENT_ROOT' and you should see something like this:
/home/boofo/public_html
So the line you would enter for this setting would be:
/home/boofo/public_html/forumhome_pagehits.txt
Substituting the path you found for your site.
NOTE: You must chmod 777 the forumhome_pagehits.txt file so it can be written to when updating the pagehits.
NOTE: You are done unless you opted to do the manual template install. If you chose Site Life Status Automatic Template Replace, there is no need to do the manual template edit in the install file.
Done!
Enjoy!
__________________
ننتظر فكرة باذن لله
تحياتي...............
اتمنى اني فدتك
تحياتي
__________________
ننتظر فكرة باذن لله
تحياتي...............
جزاك الله كل خير وتسلم على المساعدة وياليت هذا ايضا
Mobile Phone SMS Plugin v1.1 (Subscriptions via SMS) Updated - vBulletin.org Forum
ومعليش بتعبك معاي
__________________
( اللهم إنك عفوٌ كريمٌ تحب العفو فاعف عني )
php Developer
Short - Unshort Url | Moslsly.com
السلام عليكم
تفضل عزيزي طلبك موجود في مرفقات
__________________
Keyboard-Arabic