Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 site integration mod

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
phoenixtaz13 Posted - 26 February 2009 : 08:51:54
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.... :)

<
12   L A T E S T    R E P L I E S    (Newest First)
phoenixtaz13 Posted - 27 February 2009 : 05:45:46
yup, solve the prob with the variable... thanks... :)

for my new issue, im sorry about it, i'll remove the codes i posted...

thanks for ur time.... :)
<
Shaggy Posted - 27 February 2009 : 04:28:06
If you already have a variable called strScript that you're using for something else then I'd recommend you change the name of the variable I used. Unless, of course, your strScript variable, as I suspect it might, has the same value as mine in which case you can just delete mine.

As for your new issue, please do not post the entire contents of a file here as it is completely unreadable. Either post an extract from the code that is relevant to your query or, if you must post the entire file, post a link to a *.txt copy of the file.

<
phoenixtaz13 Posted - 26 February 2009 : 22:00:35
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?....<
phoenixtaz13 Posted - 26 February 2009 : 19:46:59
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?....

<
Shaggy Posted - 26 February 2009 : 11:50:08
You're welcome.

<
phoenixtaz13 Posted - 26 February 2009 : 11:40:50
wow!... its working now!.... :)

yeppee!... thank u, thank u very much.... :)

<
Shaggy Posted - 26 February 2009 : 11:31:27
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:
if instr("pop_profile.asp,members.asp",strScript)=0 then
<
phoenixtaz13 Posted - 26 February 2009 : 11:27:27
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.... :)
<
phoenixtaz13 Posted - 26 February 2009 : 11:16:25
quote:
Originally posted by Shaggy

dim:strScript:strScript=lcase(mid(strScriptName,instrrev(strScriptName,"/")+1))
if instr("pop_profile.asp",strScript)=0 then
	'your code here
end if




thanks shaggy...

the conditional statement u gave above, should be place in the inc_site_right.asp, right?...

quote:
<%
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.... :)
<
Shaggy Posted - 26 February 2009 : 11:07:44
dim:strScript:strScript=lcase(mid(strScriptName,instrrev(strScriptName,"/")+1))
if instr("pop_profile.asp",strScript)=0 then
	'your code here
end if
<
phoenixtaz13 Posted - 26 February 2009 : 10:01:04
huh?...

can u show me an example pls... do u want me to post my files?....

many, many thanks.... :)
<
Shaggy Posted - 26 February 2009 : 09:06:03
Add a conditional statement to the file that contains your right banner that checks the file name against the strScriptName variable.

<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.07