Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 



       myfreeforum.org Forum Index -> Portal components
CodyT07

McAfee Virus Scan BETA Sub Portal (youll just have to see)

Some might fancy this. NOT Offical component just a nice thing. Its a McAfee table which at the bottom of my left portal youll see here http://linkexchange.myfastforum.org
Code.
Code:
<table border="0">
<tr>
<th><center>Virus Scan</center></th>
</tr>
<tr>
<td><script src="http://securityalerts.mcafee.com/mcalerts/en-us/AlertConstant.js"></script>
<script src="http://securityalerts.mcafee.com/mcalerts/en-us/ResourceFile.js"></script>
<script src="http://securityalerts.mcafee.com/mcalerts/AlertDisplay.js"></script>
<script>
   dsplyfs = 1;
   lnkfs = "http://us.mcafee.com/root/mfs/default.asp";
   dsplyvs = 1;
   lnkvs = "http://us.mcafee.com/root/campaign.asp?cid=9828";
   DisplayMcAfeeAlerts();
</script>
</td></td></table>

Beta in case any problems arise.
You add the code in your portal codes.
Heres my portal code.
Code:
<!-- BEGIN switch_forum_view -->
<table><tr>
<td valign="top">
<table border="0">
<tr>
<th><center>Search</center></th>
</tr>
<tr>
<td><form action="search.php?mode=results" method="POST">
<input type="width: 150px" class="post" name="search_keywords" size="20" /><input type="hidden" name="search_terms" value="all" ><input type="hidden" name="search_forum" value="-1"><input type ="hidden" name="search_time" value="9999"><input type="hidden" name="search_fields" value="all" /> <input type="hidden" name="search_cat" value="-1"><input type="hidden" name="sort_by" value="0"/><input type="hidden" name="sort_dir" value="DESC" /><input type="hidden" name="show_results" value="topics" /><input type="hidden" name="return_chars" value="-1"/><input class="liteoption" type="submit" value="Search" /></form></td>
</tr>
</table>
{MYFF.MAINMENU}{MYFF.ANNOUNCE show_results="topics" link="fFORUM"}{MYFF.STICKY show_results="topics" link="FORUM"}{MYFF.TOPPOSTERS}{MYFF.LINKSMENU} 

<table border="0">
<tr>
<th><center>Virus Scan</center></th>
</tr>
<tr>
<td><script src="http://securityalerts.mcafee.com/mcalerts/en-us/AlertConstant.js"></script>
<script src="http://securityalerts.mcafee.com/mcalerts/en-us/ResourceFile.js"></script>
<script src="http://securityalerts.mcafee.com/mcalerts/AlertDisplay.js"></script>
<script>
   dsplyfs = 1;
   lnkfs = "http://us.mcafee.com/root/mfs/default.asp";
   dsplyvs = 1;
   lnkvs = "http://us.mcafee.com/root/campaign.asp?cid=9828";
   DisplayMcAfeeAlerts();
</script>
</td></td></table>
<td width="125%" valign="left">
<!-- END switch_forum_view -->
Plus the code in the footer.
admin (no pm's please)

Fun, and the sort of thing we should be allowing as user contributed components. I will see what I can do.
admin (no pm's please)

In fact this should be a good point for the next portal upgrade that will truly let you make this sort of thing a component yourself.
Nick(NR)

Again, I thought I'd tidy this up.

Spoiler:

<table width="100%" border="0" align="center" cellpadding="4" cellspacing="1" class="forumline">
<tr>
<th colspan="1" align="center" height="25" class="thCornerL" nowrap="nowrap">McAfee Virus Scan</th>
</td>
</tr>
<tr>
<td align="center" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="4">
<tr>
<td align="center" valign="top">
<script src="http://securityalerts.mcafee.com/mcalerts/en-us/AlertConstant.js"></script>
<script src="http://securityalerts.mcafee.com/mcalerts/en-us/ResourceFile.js"></script>
<script src="http://securityalerts.mcafee.com/mcalerts/AlertDisplay.js"></script>
<script>
dsplyfs = 1;
lnkfs = "http://us.mcafee.com/root/mfs/default.asp";
dsplyvs = 1;
lnkvs = "http://us.mcafee.com/root/campaign.asp?cid=9828";
DisplayMcAfeeAlerts();
</script>
</td>
</tr>
</table></td>
</tr>
</table>

admin (no pm's please)

In the spirit of correctness.

class="thCornerL"

should be:

class="thTop"

not that I can talk, as not all the released ones have this right currently
CodyT07

Nick(NR) wrote:
Again, I thought I'd tidy this up.

Spoiler:

<table width="100%" border="0" align="center" cellpadding="4" cellspacing="1" class="forumline">
<tr>
<th colspan="1" align="center" height="25" class="thCornerL" nowrap="nowrap">McAfee Virus Scan</th>
</td>
</tr>
<tr>
<td align="center" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="4">
<tr>
<td align="center" valign="top">
<script src="http://securityalerts.mcafee.com/mcalerts/en-us/AlertConstant.js"></script>
<script src="http://securityalerts.mcafee.com/mcalerts/en-us/ResourceFile.js"></script>
<script src="http://securityalerts.mcafee.com/mcalerts/AlertDisplay.js"></script>
<script>
dsplyfs = 1;
lnkfs = "http://us.mcafee.com/root/mfs/default.asp";
dsplyvs = 1;
lnkvs = "http://us.mcafee.com/root/campaign.asp?cid=9828";
DisplayMcAfeeAlerts();
</script>
</td>
</tr>
</table></td>
</tr>
</table>


Ill try it when i get back. Seems though its rather easy making your own little component. Next comonent i make be a little FAQ module which ill use the FAQ on here as an example. Might be a pain to do jsut how i want it.
CodyT07

I cant add anymore out of room on my left portal. kind of funny though. Good thing i added the right portal. I will only make new components out of requests.
Nick(NR)

Codyt07 wrote:
I cant add anymore out of room on my left portal. kind of funny though. Good thing i added the right portal. I will only make new components out of requests.


Don't make any out of request, the amount you'll get will be workable, but what people will want will be the silly part.

Make them for your self and if you feel other forums will benefit from them submit the code to admin for approval by pm, don't make any of the code available here, as some members may copy the code and add it incorrectly.
CodyT07

Nick(NR) wrote:
Codyt07 wrote:
I cant add anymore out of room on my left portal. kind of funny though. Good thing i added the right portal. I will only make new components out of requests.


Don't make any out of request, the amount you'll get will be workable, but what people will want will be the silly part.

Make them for your self and if you feel other forums will benefit from them submit the code to admin for approval by pm, don't make any of the code available here, as some members may copy the code and add it incorrectly.

Let me rephrase that, I will only take requests if they benifit all forums. And ill do mods and admins requests. The FAQ im leaving as i ran out of space on the left portal. The copy and paste part is inevidable as well they also do that on how to do it and come here wanting to reexplain it all.
Nick(NR)

Codyt07 wrote:
Let me rephrase that, I will only take requests if they benifit all forums. And ill do mods and admins requests. The FAQ im leaving as i ran out of space on the left portal. The copy and paste part is inevidable as well they also do that on how to do it and come here wanting to reexplain it all.


I'm not sure a FAQ portal would help much unless it is shown in full portal view, but If you want to pm me the code I'll have a go and post a link when it's working for you if you'd like.
CodyT07

Doubt it will happen. I was thinking about making it have like
FAQ's
How you do this
How you do that

And link to the faq here but auto scroll down the page to the area wanted answered. only will happen if each question and answer is posted in seperate posts. Then i can munipulate the URL to make it go to that post just like "Topic Reply" e-mail. Im not sure how the URL part will work. I see if i can notice a patern in way things appear.
The way like doubt it will ever happen without needing some hours to perfect it. If the FAQ had its on forum (e.g. like general support) that would work easier.
Nick(NR)

Codyt07 wrote:
Doubt it will happen. I was thinking about making it have like
FAQ's
How you do this
How you do that

And link to the faq here but auto scroll down the page to the area wanted answered. only will happen if each question and answer is posted in seperate posts. Then i can munipulate the URL to make it go to that post just like "Topic Reply" e-mail. Im not sure how the URL part will work. I see if i can notice a patern in way things appear.
The way like doubt it will ever happen without needing some hours to perfect it. If the FAQ had its on forum (e.g. like general support) that would work easier.


This portal has no point when you consider the fact that you can put a link to the forum rules and forum FAQ in the linksmenu component.
CodyT07

"This portal has no point"
I care for your opinion but im do it anyway. as an FAQ is different from a links menu! Some might think its god. Labeling it FAQ is more noticible then links menu.
Nick(NR)

Codyt07 wrote:
"This portal has no point"
I care for your opinion but im do it anyway. as an FAQ is different from a links menu! Some might think its god. Labeling it FAQ is more noticible then links menu.


Fair enough, I'll pm you a blank portal code for you to add your stuff so it looks right and is in a table.
CodyT07

i want a way to mbe able to turn the portals on and off and sutomize them to a member. Asking a bit much but i would like the on and off part though, i dont understand the switxhes though
Nick(NR)

I don't think portals can be turned on or off, as for customizing them to certain members I don't think that is possible either as there is now way to speciy which user can see the chosen portal.

       myfreeforum.org Forum Index -> Portal components
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum