Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Widget: Auto ScreenShot of Styles Forum in CMS - by omardealo Details »»
Widget: Auto ScreenShot of Styles Forum in CMS - by omardealo
Version: 1.0, by omardealo omardealo is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: vBulletin CMS Widgets - Version: 4.0.2 Rating:
Released: 02-20-2010 Last Update: Never Installs: 10
 
No support by the author.

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
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/showthread.p...&p=798#post798


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


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

Download Now

File Type: (8.4 KB, 0 views)
File Type: (9.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-25-2010, 03:37 PM
omardealo's Avatar
omardealo omardealo is offline
 
Join Date: Nov 2008
Location: egypt
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jabong82 View Post
Sorry but what exactly does this widget do?

Thanks in advance.
auto screen shot to every style in CMS block
see photo https://vborg.vbsupport.ru/attachmen...1&d=1266950208
Reply With Quote
  #13  
Old 02-25-2010, 03:57 PM
argothiusz argothiusz is offline
 
Join Date: Nov 2008
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't see any screenshot but a camera picture with refresh icon. Maybe, you have to wait for the website to update?
Reply With Quote
  #14  
Old 02-26-2010, 02:34 AM
omardealo's Avatar
omardealo omardealo is offline
 
Join Date: Nov 2008
Location: egypt
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by argothiusz View Post
I didn't see any screenshot but a camera picture with refresh icon. Maybe, you have to wait for the website to update?
yes u r right
Note : The screensho will take a few hours to show up
Reply With Quote
  #15  
Old 02-26-2010, 11:06 PM
omardealo's Avatar
omardealo omardealo is offline
 
Join Date: Nov 2008
Location: egypt
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by as7apcool View Post
nice work - thanks alot
thnx man
Reply With Quote
  #16  
Old 04-12-2010, 12:42 AM
alghazali alghazali is offline
 
Join Date: Dec 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice,but.correction:we,speak:Somali,not,Sawahili,b ro,you,should,have,known??
http://www.7-secret.org/vbenterprise...r_flags/sw.gif
Reply With Quote
  #17  
Old 04-12-2010, 07:22 AM
omardealo's Avatar
omardealo omardealo is offline
 
Join Date: Nov 2008
Location: egypt
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alghazali View Post
Nice,but.correction:we,speak:Somali,not,Sawahili,b ro,you,should,have,known??
http://www.7-secret.org/vbenterprise...r_flags/sw.gif
thnx but u must said this to this user

https://vborg.vbsupport.ru/showthrea...ght=translator
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04302 seconds
  • Memory Usage 2,303KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete