The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
hello.... good day to all.... :)
i have a situation... site integration is activated....
top and right banner is activated....
the banners are working well... but what if i dont want the right banner to appear in a particular page, example, in home link, top and right banners should appear, and if i click the edit profile link, only the top banner should appear....
is it possible to do that?.... if yes, how?....
thanks in advance.... :)
<
i have a situation... site integration is activated....
top and right banner is activated....
the banners are working well... but what if i dont want the right banner to appear in a particular page, example, in home link, top and right banners should appear, and if i click the edit profile link, only the top banner should appear....
is it possible to do that?.... if yes, how?....
thanks in advance.... :)
<
Posted
Add a conditional statement to the file that contains your right banner that checks the file name against the strScriptName variable.
<
Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
<
Search is your friend
“I was having a mildly paranoid day, mostly due to thefact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
huh?...
can u show me an example pls... do u want me to post my files?....
many, many thanks.... :)
<
can u show me an example pls... do u want me to post my files?....
many, many thanks.... :)
<
Posted
Code:
dim:strScript:strScript=lcase(mid(strScriptName,instrrev(strScriptName,"/")+1))
if instr("pop_profile.asp",strScript)=0 then
'your code here
end if
Search is your friend
“I was having a mildly paranoid day, mostly due to thefact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
<%
dim:strScript:strScript=lcase(mid(strScriptName,instrrev(strScriptName,"/")+1))
if instr("pop_profile.asp",strScript)=0 then
%>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<br />
<td><img src="/forum/images/rightad1.gif"/></td>
</tr>
</table>
<%
end if
%>
thank you for ur time.... :)
<
Posted
hi shaggy, im getting this error... :(
error message:
Microsoft VBScript compilation (0x800A03F2)
Expected identifier
/forum/inc_site_right.asp, line 5, column 3
file inc_site_right.asp, LINE 5 in red
dim:strScript:strScript=lcase(mid(strScriptName,instrrev(strScriptName,"/")+1)) if instr("pop_profile.asp",strScript)=0 then
how do i also include members.asp and active.asp?....
thanks again for ur time.... :)
<
error message:
Microsoft VBScript compilation (0x800A03F2)
Expected identifier
/forum/inc_site_right.asp, line 5, column 3
file inc_site_right.asp, LINE 5 in red
dim:strScript:strScript=lcase(mid(strScriptName,instrrev(strScriptName,"/")+1)) if instr("pop_profile.asp",strScript)=0 then
how do i also include members.asp and active.asp?....
thanks again for ur time.... :)
<
Posted
Sorry, typo; replace the colon after "dim" with a space.
You can add more files to the first argument in that function, seperated by commas. For example:<
Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
You can add more files to the first argument in that function, seperated by commas. For example:
Code:
if instr("pop_profile.asp,members.asp",strScript)=0 then
Search is your friend
“I was having a mildly paranoid day, mostly due to thefact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
wow!... its working now!.... :)
yeppee!... thank u, thank u very much.... :)
<
yeppee!... thank u, thank u very much.... :)
<
Posted
hello shaggy.... :)
i'm experiencing this error.... :(
Microsoft VBScript compilation (0x800A0411)
Name redefined
/forum/inc_footer.asp, line 76, column 4
inc_footer.asp file, LINE 76 in red:
dim strScript:strScript=lcase(mid(strScriptName,instrrev(strScriptName,"/")+1)) if instr("pop_profile.asp",strScript)=0 then
i placed the code in inc_footer.asp, coz i realize, the right banner is not displaying, but theres a gap or a blank space.
how can i fix this problem?....
<
i'm experiencing this error.... :(
Microsoft VBScript compilation (0x800A0411)
Name redefined
/forum/inc_footer.asp, line 76, column 4
inc_footer.asp file, LINE 76 in red:
dim strScript:strScript=lcase(mid(strScriptName,instrrev(strScriptName,"/")+1)) if instr("pop_profile.asp",strScript)=0 then
i placed the code in inc_footer.asp, coz i realize, the right banner is not displaying, but theres a gap or a blank space.
how can i fix this problem?....
<
Posted
with my error above, i just remove the dim in the inc_footer.asp, i think its because i have the dim in inc_header.asp... anyways, i'm not getting anymore errors... :)
heres another prob the i encountered, i inserted some codes in the inc_site_left.asp, the purpose of it is to get the latest post in some forum i selected, its displaying all the latest post, but when i click the topic, it only redirects me to 1 topic, i cant figure out why the links is not working properly.... :(
heres my code in inc_site_left.asp:
<edit by="Shaggy">Code removed</edit>
how do i fix this?....<
heres another prob the i encountered, i inserted some codes in the inc_site_left.asp, the purpose of it is to get the latest post in some forum i selected, its displaying all the latest post, but when i click the topic, it only redirects me to 1 topic, i cant figure out why the links is not working properly.... :(
heres my code in inc_site_left.asp:
<edit by="Shaggy">Code removed</edit>
how do i fix this?....<
Last edited by Shaggy on 27 February 2009, 04:22
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...