Back to vBulletin 4.x Add-ons

Widget: Auto ScreenShot of Styles Forum in CMS - by omardealo
Mod Version: 1.0, by omardealo

vB Version: 4.0.2 Rating: (3 votes - 4.67 average) Installs: 10
Released: 21 Feb 2010 Last Update: Never Downloads: 0
Not Supported  

Peace and mercy of God be upon you

Widget: Styles Forum in cms - by omardealo tested on 4.0.2
God willing, also was working on 4.0.1

Programming:
omardealo
http://7-secret.org

Image:





Example:
http://www.7-secret.org/content.php?language=en

Code:

PHP Code:
ob_start();
$excluded '0';
  
$style_get vB::$db->query_read("
    SELECT * FROM "
.TABLE_PREFIX."style
   WHERE styleid NOT IN (
$excluded) ORDER BY styleid");
  
$output_bits '';
  while(
$style vB::$db->fetch_array($style_get))
  {

        
$output_bits .= '<div dir="rtl" align="center">
<a href="http://www.7-secret.org/forum.php?styleid='
.$style[styleid].'">
<img src="http://www.thumbshot.de/cgi-bin/show.cgi?url=http://www.7-secret.org/forum.php?styleid='
.$style[styleid].'" alt="'.$style[title].'" width="159" height="157"></a>
</div>
<br>'
;

  }
  
$output $output_bits;
  
ob_end_clean(); 
- With the replacement http://www.7-secret.org
of your forum link

- Place the figures here excepted Styles
PHP Code:
$excluded '0'
Example:
PHP Code:
$excluded '1,4,6'
- here size of screenshot
PHP Code:
width="159" height="157" 

Note : The screensho will take a few hours to show up

Composition:

Goto Admincp->vBullietin CMS->Widgets->Create New Widget
Choose PHP Direct Execution as Widget's Type
Place a Title. eg Forum Styles. Keep it short as this is what will appear as title on your pages.
Click Save
Click Configure on the right of the new created widget.
Remove the default code that appears. Be sure to not leave behind even a single letter.
Copy and Paste the code that you can find below.
Leave the template name as is (vbcms_widget_execphp_page)
Click Save
Goto Admincp->vBullietin CMS->Layout Manager
Click Go on the Default Layout
Add the Widget to your Layout
Click Save

Source:
http://www.7-secret.org/index.php?t=237&p=798#post798

hack in arabic - الهاك باللغة العربية:
http://www.7-secret.org/index.php?t=235

May God help you do not forget to pray for me and my parents back of the unseen

Download

No files for download.

Screenshots

Click image for larger version
Name:	08-03-1431 06-13-19 م.jpg
Views:	198
Size:	8.4 KB
ID:	112734   Click image for larger version
Name:	08-03-1431 08-50-50 م.jpg
Views:	150
Size:	9.9 KB
ID:	112735  

Similar Mods

Mini Mods 5 sub-pages in the same format of the forum Style v 2.0 - omardealo vBulletin 4.x Add-ons
vBulletin CMS Widgets Widget:Forums Category names/links in cms for version 4.0.1 - omardealo vBulletin 4.x Add-ons
vBulletin CMS Widgets 3x CMS widget : Widget with 3 tabs, like on Blogs page. vBulletin 4.x Add-ons
Mini Mods Styles Gallery Version 1.0 Programming omardealo for version 4.0.1 vBulletin 4.x Add-ons
Mini Mods names and links sections of the forum in footer by omardealo version 2.0 vBulletin 4.x Add-ons

vblts.ru supports vBulletin®, 2022-2024