Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Pages
Author Message
okitai
Member


Posts: 79
Joined: Oct 2008
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 53
Post: #11
RE: Custom Pages

Here is my 'nav' template:

PHP Code:
<div class="navigation">
    <
img style="vertical-align:bottom;" src="{$theme[imgdir]}/nav_start.gif" />{$nav}{$activesep}{$activebit}
</
div
and my 'nav_sep_active' yemplate:
PHP Code:
<br /><img style="vertical-align:bottom;" src="{$theme[imgdir]}/nav_end.gif" /> 

I added to both of them either '{$settings['bburl']} or, as to your suggestion, {$mybb->settings['bburl']} in front of the '{$theme[imgdir]}' element. In both cases, the source shows: "images/Notebook//nav_start.gif" and "images/Notebook//nav_end.gif".
What do I do wrong? btw, when looking at the source of the test page the image's path is the same.


Ori...


Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.
simplified translation of Occam's razor

[Image: 82pwtx]
(This post was last modified: 02-03-2009 01:00 PM by okitai.)
02-03-2009 05:27 AM
MattR
Sitting in Jacob's Cabin


Posts: 54
Joined: Oct 2008
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 140
Post: #12
RE: Custom Pages

Does this not accept custom MyCode now?? v2.0 did, v3.0 doesn't seem to.

Okitai, try this: {$theme['imgdir']}



Learn MyBB - My Blog
MyBB Support Team
(This post was last modified: 02-03-2009 05:29 PM by MattR.)
02-03-2009 05:25 PM


atomicj
Member


Posts: 52
Joined: Jan 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 0
Post: #13
RE: Custom Pages

Based on the average I guess this would be something minor.. but who knows.

If you have any images in your header or footer, and you are viewing the custom pages, the images will not display.

In Firefox they don't display anything at all (assuming I have no Alt tag), which is alright.

In any other browser it shows the text "image" or the "alt tag" or a red X where the image is. Kind of an eyesore.

Note that it's only while viewing the custom pages. I can scrap these images if need be.. be nice not to have to though as they serve some importance.

Can someone verify also? (Always want to be sure it's not just something I encounter and may not affect everyone)

Writing this I realized something.. that the logo had always displayed. I notice the logo is inside of an this tag.. {$theme['logo']} whilst I tried this tag... <img src="{$theme['imglangdir']}/navbutton.png" alt="Forum Jump" title="Forum Jump" />... with no success. The image shows everywhere but when viewing custom pages. Doesn't want to work with an HTML tag apparently.

That doesn't help me understand this anymore (don't know php).. but it's more information on the table for you


Note that I'm using V 3.0

(This post was last modified: 02-09-2009 04:01 PM by atomicj.)
02-09-2009 04:00 PM
okitai
Member


Posts: 79
Joined: Oct 2008
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 53
Post: #14
RE: Custom Pages

You can look two(2) posts above yours. I have the same problem with no solution for now (MattR).


Ori...


Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.
simplified translation of Occam's razor

[Image: 82pwtx]
02-09-2009 04:11 PM


atomicj
Member


Posts: 52
Joined: Jan 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 0
Post: #15
RE: Custom Pages

(02-09-2009 04:11 PM)okitai Wrote:  You can look two(2) posts above yours. I have the same problem with no solution for now (MattR).


Ori...

Ya, just noticed. I didn't realize your issue was the same as mine.
Haha.. I seriously need to buy glasses one of these days..

My issue is fixed. It seems that what Nick said:

"Make sure the full URL to the image is used"

...was the answer. For me at least.

okitai did you attempt this one?

(This post was last modified: 02-09-2009 04:48 PM by atomicj.)
02-09-2009 04:13 PM
sismico
Junior Member


Posts: 1
Joined: Feb 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 0
Post: #16
RE: Custom Pages

¿Cómo puedo agregar el menú como lo tienes tú?

How do I create a menu like yours?

02-14-2009 08:29 PM


Snagwell
Junior Member


Posts: 8
Joined: Nov 2008
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 0
Post: #17
RE: Custom Pages

I get an Error when activating..

Quote:MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1146 - Table 'dbname.game_game_settinggroups' doesn't exist

For some reason it's showing two prefixes for the table.

I'm trying to figure out why in cpages, but so far can't.

Any help would be appreciated.

EDIT: Not sure why, but its started working after I opened the cpages.php and then saved it, and uploaded it again. :S

Meh it works..
Thanks


http://gamerdistrict.net - Gamer Community, running mybb 1.4 with MyCredits and Mystore
(This post was last modified: 02-15-2009 05:17 AM by Snagwell.)
02-15-2009 05:03 AM
calla
Junior Member


Posts: 1
Joined: Mar 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 0
Post: #18
RE: Custom Pages

I have same error seems okitai...

page404.. error.. dont exists..

This happens now, before in the other host.. works fine..

Now i moved, and dont work anymore..

Why?? :'<

03-06-2009 01:37 PM


Nickman
Manager



Posts: 1,950
Joined: May 2008
Reputation: 37
Thanked 40 Times in 21 Posts
MyBux: 996
Post: #19
RE: Custom Pages

Try going to /pages/index.php?page=PAGE NAME



My Blog
03-06-2009 03:43 PM
Trinit
Junior Member


Posts: 3
Joined: Feb 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 8
Post: #20
RE: Custom Pages

Can i translate it in italian language?

03-12-2009 05:20 AM


 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  custom error pages help luigi789 0 16 08-03-2009 01:23 AM
Last Post: luigi789
Custom Pages Problem shaks786 11 110 08-01-2009 02:44 AM
Last Post: Polarbear541
  Custom Who is online locations Nickman 21 488 07-30-2009 08:31 PM
Last Post: bositman
  Custom ACP Links Nickman 3 141 07-09-2009 10:41 PM
Last Post: wugcommunity
  How to work with custom pages plugin blood 3 70 07-09-2009 10:40 PM
Last Post: wugcommunity
  My Custom Errors Nickman 17 387 05-31-2009 10:43 PM
Last Post: Mandar



New to MyBBSource?Need Assistance?
  • Mark Forums Read
  • View Forum Staff
  • Looking for a MyBB Host?




Theme created by AK-47. Find more great themes and skins at K! Dezign Web Design
Wordpress Web Design
Youtube Video Free Bet Football Betting R1s