HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Long list of problems

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#43814 (In Topic #9739)
Avatar

Fan in training

Ok so I am partially retarded when it comes to editing HTML and embedding code into websites. I have a growing list of problems that I was hoping everyone here could help me with, all of which seem to center around ocPortal (no blame, I'm just retarded lol)

Ok so currently I have problems/questions about

  • Embedding Music - I cannot get the code to register, and I am using code found elsewhere on the forums, here is the link to it:



  • Banners - I have added a banner into my database and have tried numerous times to add the banner to the site but it keeps alerting me that there are in fact no banners in the system. I am completely stumped on this one


  • Site Redirection - Is there a way that if a person visits a page on my website that I can code it to redirect them to a completely different website altogether, like say I have a page labeled Red Lobster on my website, and they go to it, that my ocPortal page will redirect them to www.redlobster.com (only thing i could think of to use as an example lol)


  • Title/Logo - Is there a way to change the font of the Title in the upper left corner of the screen and/or change the logo that goes there? like a personal logo or a guild logo. I would settle for being able to change the font to something other than Ariel, and I do not know how.


These are the only immediate problems I have, any and all assistance would be greatly appreciated, as I am at a complete loss as to the solution

Thanks in Advance
Back to the top
 
Posted
Rating:
#43817
Avatar

Community saint

Hi Nevet! Should be all doable. If no one else hops on your thread between now and tonite (I'm at the office atm), I'll take a crack at 'em when I have access to my test site.

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#43820
Avatar

Community saint

  • Embedding Music - I cannot get the code to register, and I am using code found elsewhere on the forums, here is the link to it:
Hmm, having an issue with this one as well. 2morrow I'll have a crack at it with a Windoze machine (I use Linux on my desktop) to ensure the problem is not with a plugin working with my browser.
  • Banners - I have added a banner into my database and have tried numerous times to add the banner to the site but it keeps alerting me that there are in fact no banners in the system. I am completely stumped on this one
I can't recreate this problem…banners working on my test site. If you'd like, you could PM me a temp admin account on your site and I'll have a look around.
  • Site Redirection - Is there a way that if a person visits a page on my website that I can code it to redirect them to a completely different website altogether, like say I have a page labeled Red Lobster on my website, and they go to it, that my ocPortal page will redirect them to www.redlobster.com (only thing i could think of to use as an example lol)
Couple of ways to tackle this, but a couple of questions first: do you want the www.redlobster.com (just extending your example) to appear in an iframe, or would you like the visitor redirected completely away from the site to redlobster?
  • Title/Logo - Is there a way to change the font of the Title in the upper left corner of the screen and/or change the logo that goes there? like a personal logo or a guild logo. I would settle for being able to change the font to something other than Ariel, and I do not know how.
Have a peak at:
Admin Zone –> Style –> Manage Themes (twice) –> Manage Images. You can completely change the logo there. What I would recommend is grabbing a copy of the default logo so you have the sizing correct, then either erasing that with your favourite image editor and superimposing your desired logo, or create a new one that matches the dimensions of the default. Once you are comfortable with themeing OCP, then the sky is the limit with regards to sizing, type, etc.

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#43821
Avatar

Fan in training

RE:

Thank you for your feedback on these issues, I have been toying around with this site for my guild for about 4 months now, but have never really gotten serious about it until now. I am still trying to find out how to work all the features and get all my guildies involved so they can lend me a hand as well

As for the redirection, yes, what i was trying to do was have a banner redirect them to a separate page on my site, which in turn redirects them to the site I want them to go to.

Basically this is a guild site for the recently announced game of Star Wars: The Old Republic, and i have made a banner with the game title as its picture, and tried having it link directly to the website (www.swtor.com) but i could not get that to work, so instead i had the banner link to a separate page on my account, and wanted that page to redirect them to www.swtor.com

Also another problem just presented itself, it seems that my users cannot submit posts in my forums and I cant find the setting that prevents them from doing such.

That settles it im going back to college for web design

*EDIT* ok it wasnt anything I did, they can post, they were just retarded lol *EDIT*
Back to the top
 
Posted
Rating:
#43874
Avatar

Fan in training

I am still having difficulty with the music code as well as site redirection and the logo.

the logo isnt as important anymore, and im not even going to bother with the banner for now, I need to optimize functionality before aesthetics/flair

The logo problem is similar to the banner problem, in that i select the logo that i have uploaded to my dbase, however whenever i finalize the change, it reverts back to the original, and the logos are of exact resolution

Im sure site redirection is fairly simple, i just dont know how to write HTML out of the blue as of yet, something i hope to correct in the future.

Basic diagram of what i want to do with the banner

[Banner *click*] ->[Blank page on my site w/ redirection code] ->[Target Site of redirect]

i am extremely tired so forgive my barbaric diagrams and poorly constructive thought

thanks in advance
Back to the top
 
Posted
Rating:
#43883
Avatar

Community saint

Hi Nevet. There are several types of redirection scripts you can use.

First, create a blank page and place this on the page… Hi Nevet. There are several types of redirection scripts you can use.

First, create a blank page and place this on the page…

var browser_type=navigator.appName
var browser_version=parseInt(navigator.appVersion)

//if NS 6
if (browser_type=="Netscape"&&browser_version>=5)
window.location.replace("Mozilla.org - Home of the Mozilla Project")
//if IE 4+
else if (browser_type=="Microsoft Internet Explorer"&&browser_version>=4)
window.location.replace("Microsoft Corporation")
//if NS4+
else if (browser_type=="Netscape"&&browser_version>=4)
window.location.replace("AOL.com - Netscape")
//Default goto page (NOT NS 4+ and NOT IE 4+)
else
window.location="thetargetdomain.com"

Then, link your banner to your blank page using the full URL. I.e., E-Commerce Hosting

If that script does not work for you, just do a google search for redirection scripts…it will return a million plus hits.

Hope this helps.
 
 btw, you have to open and close a script before to use that…sorry, but the full script will not duplicate on the OCF thread.
Back to the top
 
Posted
Rating:
#43909
Avatar

Banners - I have added a banner into my database and have tried numerous times to add the banner to the site but it keeps alerting me that there are in fact no banners in the system. I am completely stumped on this one

I think you said it's not important anymore, but I already thought about this and here are some potential causes…

Check the permissions of the banner.
Check you haven't set the "Community advert chance" option too low.
Check you didn't add the banner with a non-default type (if you did, it won't show in the default rotation).

The logo problem is similar to the banner problem, in that i select the logo that i have uploaded to my dbase, however whenever i finalize the change, it reverts back to the original, and the logos are of exact resolution

Are you sure you're editing the right theme, and the right logo image?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: