VBsupport перешел с домена .ORG на родной .RU
Ура!
Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей
Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже: Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота. Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
I am trying to get my Photo gallery to show random photos on the forum of my VB forums.
Does anyone know how to do this?
I am using Photopost PRO 5.21 and VB 3.6.4.
TIA!
Get the mod made by Sonia, it works the best! It only uses a single query when Random Images are allowed to be shown on a certain page! It User Group Controlled!
If you want the mod tell me I'll upload it, it the latest version Jan 11, 2007 for (vB 3.0*, 3.5*, 3.6*)!
Please upload it, I would like to try it out, thanks for replying.
Quote:
Originally Posted by demo
Get the mod made by Sonia, it works the best! It only uses a single query when Random Images are allowed to be shown on a certain page! It User Group Controlled!
If you want the mod tell me I'll upload it, it the latest version Jan 11, 2007 for (vB 3.0*, 3.5*, 3.6*)!
arcadeguy, just find this hack on vbulletin.org and post url to thread here. After, me, or someone else with downloading permissions will download this hack for you ;)
@arcadeguy
Продвинутый
Join Date: Jul 2006
Location: New York
Posts: 100
Версия vB: 3.6.6
Reputation:
Опытный 33
Репутация в разделе: 33
0
Link for Photopost in Postbit Legacy http://www.vbulletin.org/forum/showthread.php?t=111812
Photopost 5.21 Forum Thumbnails for vb 3.54 http://www.vbulletin.org/forum/showthread.php?t=111645
1,000 thanks !!!!!!!!!!
Quote:
Originally Posted by VipeR
arcadeguy, just find this hack on vbulletin.org and post url to thread here. After, me, or someone else with downloading permissions will download this hack for you ;)
@VipeR
Private Person
Developer
Join Date: Aug 2005
Posts: 5,593
Версия vB: 1.x.x
Пол:
Reputation:
Гуру 4633
Репутация в разделе: 1969
0
Quote:
Originally Posted by arcadeguy
Link for Photopost in Postbit Legacy http://www.vbulletin.org/forum/showthread.php?t=111812
Photopost 5.21 Forum Thumbnails for vb 3.54 http://www.vbulletin.org/forum/showthread.php?t=111645
1,000 thanks !!!!!!!!!!
np ;)
Quote:
Photopost 5.21 Forum Thumbnails for VB 3.54
After playing around with this I finally got it right, here is my final advise.
This is for people that has the photopost software in a different database name from your vbulletin.
Black bold letter (changes made to the files)
Green letters: Instructions
1st.
In your Forum index.php file from VB 3.54
Find:
require_once('./global.php');
require_once(DIR . '/includes/functions_bigthree.php');
require_once(DIR . '/includes/functions_forumlist.php');
*******************************************************
Under these add:
include(DIR . '/photopost/inc_features.php');
include(DIR . '/photopost/inc_photopost.php');
Where "photopost" is, make sure is your correct path if you changed it.
2nd:
Edit your file: inc_features.php (From Photopost)
Edit your file: inc_photopost.php (From Photopost)
inc_photopost.php:
On line 26 (On inc_photopost.php file)Find:
//mysql_select_db ("vb_photopost")or die("Could not select photopost database");
In here, delete the 2 green slashes and replace the black bold with your photopost database name; Example: vb_photopost or vb_gallery, how ever you named your photopost databse.
On line: 310 ( The very last part of the file)
Find:
// If you use PhotoPost in a seperate database from vB, you'll need to reselect the vB database!
//mysql_select_db ("vb_bulletin");
In here, delete the 2 green slashes and replace the black bold with your vbulletin database name; Example: vb_bulletin or vb_whatevernameitis.
Save and upload to your FTP photopost directory, Done.
inc_features.php:
On line 26 (On inc_photopost.php file)Find:
//mysql_select_db ("vb_photopost")or die("Could not select photopost database");
In here, delete the 2 green slashes and replace the black bold with your photopost database name; Example: vb_photopost or vb_gallery, how ever you named your photopost databse.
Save and upload to your FTP photopost directory, Done.
*********************************************************
3rd.
Now, the last thing to do:
Go to your Style manager, select and Edit FORUMHOME
Right under $navbar, or where ever you wanna ad the thumbnails box,
ad this command: $photopostfeature
*********************************************************
Well I hope this help to set up your Random Thumbnail box on your Forumhome page.
Danny
Quote:
Link for Photopost in Postbit Legacy
Ad a link to your member`s gallery on the postbit legacy.
Photopost 5.21:
Posbit Legacy Members Gallery Link:
Style manager / postbit_legacy
*********************************
Find:
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
*********************************
On top of that Copy This: