PDA

View Full Version : Portal Software - add alert if thread added + enter to forumdisplay


salman22
09-26-2008, 10:00 PM
hello every one ,

in last thread we learn how to add alert if any one add new Privat message

https://vborg.vbsupport.ru/showthread.php?t=191865

but today we will learn how to add alert when add newthread

and how to add alert when you login any forumdisplay
this is easy ..

first, add alert when add newthread

open template

newthread

Search for

</head>

add above

<if condition="$forumid == 'XX'">
<script type="text/javascript">
alert("Text");
</script>
</if>

and don't forget change XX

to forumdisplay number

save edit

now when enter forumdisplay open template

search for

</head>

add above

<if condition="$forumid == 'XX'">
<script type="text/javascript">
alert("Text");
</script>
</if>

and don't forget change XX

to forumdisplay number

Do not forget to replace the text you want

thanx and I wait your comments

salman22

Masiello
09-28-2008, 09:54 AM
I think this is very usefull, especially when need to respect different rules per forum, I test it out soon, thanks for share!

Masiello
09-28-2008, 10:03 AM
Works great :)

abouahmed
09-28-2008, 10:55 AM
i don't understand what is:

and don't forget change XX

to forumdisplay number

apiasto
09-28-2008, 11:00 AM
wow small hack but very usefull thnx man.salman let me get this right.if i wanna add this alert on different forums i have to keep adding the same phrase with different forum id's

apiasto
09-28-2008, 11:03 AM
i don't understand what is:

and don't forget change XX

to forumdisplay number

xx stands for forum id where u wanna add this hack and forum display id # from adress bar

Masiello
09-28-2008, 11:17 AM
i don't understand what is:

and don't forget change XX

to forumdisplay number
you view this from form manager, just hover the mouse on the forum you want to do this and write the correspond number.

abouahmed
09-28-2008, 11:52 AM
thanks

now i understand

thanks again