форум vBSupport.ru > Камчатка > Pocket PC vBulletin.net.ru
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
Rule
Продвинутый
 
Rule's Avatar
Default Описание к теме
0

Скажите, есть ли такой хак, что позволяет добавлять описание к теме при её создание? Или может достаточно легкой правки в шаблонах?
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
kerk
k0t
 
kerk's Avatar
Default
0

был такой хак к старой версии, наверное есть и к новой уже
найдешь на оффоруме, ссылку сюда - скачаем...
 
 
Rule
Продвинутый
 
Rule's Avatar
Default
0

Quote:
Originally Posted by kerk
найдешь на оффоруме
Э-э... это на офицеальном английском форуме? Блин, да как же я там найду, когда тут блуждаю.. я же даже языка незнаю. И потом меня там не регит. Ящик мой на .ru ненравиться(((
 
 
kerk
k0t
 
kerk's Avatar
Default
0

не обязательно там региться
поиском пользуйся thread description
 
 
TXc
Гость
Default

Rule,
kerk,
Если я не ошибаюсь, то вот то, что вы ищете - темка по Thread Description, но т.к. я не авторизирован, то скачать я ничего не могу.
 
 
kerk
k0t
 
kerk's Avatar
Default
2

я ничего не искал... =))
файл скачал, ставьте...
только я его не проверял.... работает ли?
Attached Files
File Type: zip thread_desc.zip (6.5 KB, 32 views)
 
 
Rule
Продвинутый
 
Rule's Avatar
Default
0

Я вот нашёл, а ты уже выложил. Ну если не сложно глянь ссылку. Может это и тоже самое, а может и другое чего=)
http://www.vbulletin.org/forum/showt...ad+description

Rule добавил 12.02.2006 в 08:53
Итак, вот чего я лицезрею, после описанной установки:
Quote:
Ошибка база данных в vBulletin 3.5.3:

Invalid SQL:

SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
thread.lastpost, lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach,
hiddencount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason, threaddesc

FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1)

LEFT JOIN post AS post ON(post.postid = thread.firstpostid)


WHERE thread.threadid IN (0,1)
ORDER BY sticky DESC, thread.lastpost DESC;

Ошибка MySQL : Unknown column 'threaddesc' in 'field list'
Номер ошибки : 1054
Дата : Sunday, February 12th 2006 @ 08:51:04 AM
Скрипт : http://имясайта/test/forumdisplay.php?f=2
Реферрер : http:имясайта/test/index.php?
IP адрес : адресс
Имя пользователя : имя
Имя класса : vB_Database

Last edited by Rule : 02-12-2006 at 09:54 AM. Reason: Добавлено сообщение
 
 
Profess1on
Продвинутый
Default
0

Quote:
Originally Posted by Rule
Я вот нашёл, а ты уже выложил. Ну если не сложно глянь ссылку. Может это и тоже самое, а может и другое чего=)
http://www.vbulletin.org/forum/showt...ad+description

Rule добавил 12.02.2006 в 08:53
Итак, вот чего я лицезрею, после описанной установки:
Да он именно этот хак выложил.
Только ошибка в базе данных после установки вознимает.

Profess1on добавил 12.02.2006 в 08:55
Quote:
Originally Posted by Rule
Ошибка MySQL : Unknown column 'threaddesc' in 'field list'
То же самое.

Last edited by Profess1on : 02-12-2006 at 09:55 AM. Reason: Добавлено сообщение
 
 
Rule
Продвинутый
 
Rule's Avatar
Default
0

Ну вот если пригодиться, то инструкция установки.
Quote:
Query: (Do not run this query if you were using one of the two thread description hacks on vb3.x and you upgraded to 3.5)
------

ALTER TABLE `thread` ADD `threaddesc` VARCHAR( 125 ) NOT NULL ;

File Edits:
-----------
---------------------
Open forumdisplay.php
---------------------

+-----
+Find:
+-----
. iif($vbulletin->options['threadmarking'] AND $vbulletin->userinfo['userid'], ', threadread.readtime AS threadread') . "

+-------------
+Replace With:
+-------------

. iif($vbulletin->options['threadmarking'] AND $vbulletin->userinfo['userid'], ', threadread.readtime AS threadread') . ", threaddesc

--------------------------------
Save and Upload forumdisplay.php
--------------------------------

Template Edits:
---------------

--------------
Open editpost:
--------------

+-----
+Find:
+-----

<!-- subject field -->
<table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
<tr>
<td class="smallfont" colspan="3">$vbphrase[title]:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>
<td>&nbsp;&nbsp;</td>
<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
</tr>
</table>
<!-- / subject field -->

+----------
+Add After:
+----------

<if condition="$isfirstpost">
<!-- threaddesc field -->
<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
<tr>
<td class="smallfont" colspan="3">Thread Description:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="threaddesc" value="$threaddesc" size="40" maxlength="85" tabindex="1" /></td>
<td>&nbsp;&nbsp;</td>
<td><if condition="$posticons"><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /><else />&nbsp;</if></td> </tr>
</table>
<!-- / threaddesc field -->
</if>

-----------------
Save The Template
-----------------

---------------
Open newthread:
---------------

+-----
+Find:
+-----

<!-- subject field -->
<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
<tr>
<td class="smallfont" colspan="3">$vbphrase[title]:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>
<td>&nbsp;&nbsp;</td>
<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td> </tr>
</table>
<!-- / subject field -->

+----------
+Add After:
+----------

<!-- threaddesc field -->
<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
<tr>
<td class="smallfont" colspan="3">$vbphrase[threaddescription]:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="threaddesc" value="$threaddesc" size="40" maxlength="85" tabindex="1" /></td>
<td>&nbsp;&nbsp;</td>
<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td> </tr>
</table>
<!-- / threadesc field -->

-----------------
Save The Template
-----------------

---------------
Open threadbit:
---------------

+-----
+Find:
+-----

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if> )</span></if>

+----------
+Add After:
+----------

<if condition="$thread['threaddesc']"><span class="smallfont">- $thread[threaddesc]</span></if>

-----------------
Save The Template
-----------------

Now browse to the xml file included with this hack from the download / upload plugins page. Then hit import.

This hack should now be installed.

Enjoy
 
 
Profess1on
Продвинутый
Default
1

Здесь ошибка: <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if> )</span></if>
</if>)
 


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




All times are GMT +4. The time now is 09:11 PM.


Powered by vBulletin® Version Frozen Edition
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.