PDA

View Full Version : vBulletin CMS Widgets - Widget: Auto ScreenShot of Styles Forum in CMS - by omardealo


omardealo
02-20-2010, 10:00 PM
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 (http://7-secret.org)

Image:

https://vborg.vbsupport.ru/external/2010/02/24.jpg

http://www.7-secret.org/attachment.php?attachmentid=41&stc=1&d=1266765233

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

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
$excluded = '0';
Example: $excluded = '1,4,6';

- here size of screenshot
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.php?t=237&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

hilfe-forum
02-22-2010, 03:14 PM
Works fine ;)

( see http://www.hilfe-forum.eu/ )

possible to change the size of thumbnails?

omardealo
02-22-2010, 08:53 PM
Works fine ;)

( see http://www.hilfe-forum.eu/ )

possible to change the size of thumbnails?

very nice in ur forum ^_^ :up:

https://vborg.vbsupport.ru/attachment.php?attachmentid=112822&stc=1&d=1266879122


sure , change code

ob_start();

$style_get = vB::$db->query_read("
SELECT * FROM ".TABLE_PREFIX."style
ORDER BY styleid DESC LIMIT 5");
$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();

change link http://www.7-secret.org

and size
width="159" height="157"

nomoreturn
02-22-2010, 08:53 PM
Very nice Widget installed thanks
http://mastdunya.com

hilfe-forum
02-22-2010, 09:47 PM
@omardealo
THX for Help...

(Nominate ;) )

omardealo
02-23-2010, 04:37 PM
Very nice Widget installed thanks
http://mastdunya.com

u r welcome

https://vborg.vbsupport.ru/attachment.php?attachmentid=112882&stc=1&d=1266950208

VonDoom
02-24-2010, 11:29 AM
Very Cool Tagged

omardealo
02-24-2010, 09:06 PM
@omardealo
THX for Help...

(Nominate ;) )

thnx man

as7apcool
02-24-2010, 09:27 PM
nice work - thanks alot

Jabong82
02-24-2010, 09:49 PM
Sorry but what exactly does this widget do?

Thanks in advance.

omardealo
02-25-2010, 03:37 PM
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/attachment.php?attachmentid=112882&stc=1&d=1266950208

argothiusz
02-25-2010, 03:57 PM
I didn't see any screenshot but a camera picture with refresh icon. Maybe, you have to wait for the website to update?

omardealo
02-26-2010, 02:34 AM
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

omardealo
02-26-2010, 11:06 PM
nice work - thanks alot

thnx man

alghazali
04-12-2010, 12:42 AM
Nice,but.correction:we,speak:Somali,not,Sawahili,b ro,you,should,have,known??
http://www.7-secret.org/vbenterprisetranslator_flags/sw.gif

omardealo
04-12-2010, 07:22 AM
Nice,but.correction:we,speak:Somali,not,Sawahili,b ro,you,should,have,known??
http://www.7-secret.org/vbenterprisetranslator_flags/sw.gif

thnx but u must said this to this user

https://vborg.vbsupport.ru/showthread.php?t=232456&highlight=translator