![]() |
Template in NewTheread
1 Attachment(s)
Hi. We have problem in market section, because user don't write price, contact, etc.. We fix it :D
First visit AdminCP->Modifications->Plugin management, click NEW and fill: - Produckt - vBulletin - Localization - global_start - Title - Ur own title of this template - PHP Code - PHP Code:
Save and reload Now U must created new phpfile like this: Code:
<?PHP U can change $_GET['f']==15 - 15 it's thread id.. if U want this same template in many threads U can use php function in_array() if U want other template in many threads U must modificated this code and U must change $_GET['f'] and past it on end the file. save file like: szablonSprzedaz.php and upload to Ur root folder on forum. In this case if U visit my forum, and go to the market http://forum.omegaklub.eu/forumdisplay.php?f=15 nad click New Topic, u see in textarea template like this: Code:
Nazwa: enjoy This mod don't work on WYSIWYG mode :( i think that I fix that in few days Po Polsku: Modyfikacja pozwala wstawiać dowolną treść do pola post w określonych działach. Najpierw należy dodać w AdminCP->Wtyczki i modyfikację->Zarządzaj wtyczkami nową wtyczkę, kt?rą wypełniamy jak poniżej: - Produkt - vBulletin - Lokalizacja - global_start - Tytuł - Tytuł Twojej modyfikacji - Kod PHP - PHP Code:
Save and reload a nastęnie utw?rz plik jak szablonSprzedaz.php (w załączeniu). Możesz zmienić to co jest w linii var szablon = to jest właśnie tekst, kt?ry będzie dopisany Mozesz zmienić $_GET['f']==15 - 15 to jest id sekcji w jakiej ma się to pojawiać. Jeżeli chcesz te same szablony w kilku miejscach użyj funkcji in_array (PHP) Jeżeli chcesz r?żne szablony w r?żnych sekcjach musisz stworzyć identyczne warunki modyfikując tylko $_GET['f'] i podając liczbę odpowiadająca konkretnym sekcją.. w templatce footer musisz wkleić na samym dole pliku $szablonSprzedaz |
I believe you would have to better explain what it does to make people enjoy it :)
Screenshitz would be more than welcome. Wydaje mi się że tekst po angielsku nie za bardzo wyjaśnia o co chodzi. Radzę wrzucić zrzuty z ekranu lub lepiej wyjaśnić. Jeśli to predefiniowane pola do wprowadzenia przy zakładaniu nowego postu to taki hack już istnieje jako plugin. |
I no understand:confused:;)
|
English Please
|
i think hes adding entries to the new thread template.
|
screenshots pls :)
|
hmmmmm... On my forum i have the same problem on our marketplace... I wil watch this thread very closely..
Robert |
Subscribed :) I need the WYSIWYG function to work and i'll update my forums with this mod.
|
I works on the WYSIWYG.. I think that I and in this week
I fix problems with IE and Opera.. In this moment work ok on FF, IE and Opera, but not in WYSIWYG |
All times are GMT. The time now is 02:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|