Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 7, 200519 yr One thing I'd like for IPB to adopt in the future is to reduce the amount of hard-coded templates. This will make it much easier to edit many common and uncommon aspects of the board, and thus, make customization even easier. Why can't just about little tweak be moved into the skin macros, so editing them is as simple as a click? It's highly impractical going through source file after source file just to change something.
July 7, 200519 yr Dude, what you are griping about is one of the rare forms of self promotion that IPB can get. To be honest, I'm surprised that they haven't made a core file that is necessary for IPB to run properly, popped certain functions in there such as the copyright display, and then Zend encoded it to make it harder for people to remove it without permission. So be happy that removing the "Powered by" was as easy as it is.
July 9, 200519 yr Dude, what you are griping about is one of the rare forms of self promotion that IPB can get. To be honest, I'm surprised that they haven't made a core file that is necessary for IPB to run properly, popped certain functions in there such as the copyright display, and then Zend encoded it to make it harder for people to remove it without permission. So be happy that removing the "Powered by" was as easy as it is. Because not every host uses the Zend Encoder, I know mine doesn't.
July 9, 200519 yr There are alternative ways of making a core file encoded that would work on every host, it was only an example reference to get the point across. :lol: But you could try something to see if you can use the Zend optimizer. If you're interested, I'll dig the post I made. It works for me, so I'm sharing it with others to help spread the wealth. :D
July 9, 200519 yr ...? I wasn't referring to removing the (Powered by Invision Power Board.) I was referring to things such as the seperation in the title bar, the elements of the nav bar, etc. Those are the things I'm trying to change, but I can't because I haven't even found all the source files they are in yet. If they were available to be changed through the image macros, that would be much better.
July 9, 200519 yr There are alternative ways of making a core file encoded that would work on every host, it was only an example reference to get the point across. :lol: But you could try something to see if you can use the Zend optimizer. If you're interested, I'll dig the post I made. It works for me, so I'm sharing it with others to help spread the wealth. :D Surely it'd only work if Zend is installed? lol.
July 9, 200519 yr Surely it'd only work if Zend is installed? lol. Try this: http://forums.invisionpower.com/index.php?...ost&pid=1209729 It worked for me, it may work for you too.
July 12, 200519 yr That's not what he's talking about. I understand what you are saying. Here's an example from Forums.php: $this->nav_extra = "<a href='".$ibforums->base_url."showforum={$row['forum_id']}'>{$row['forum_name']}</a>"; This should be in a template bit but it's not and therefore can't be changed without changing the code in *.php files. Templates should be COMPLETE and code should never output directly. In this case I can't change the style of the <a> tag, add a onmouseover= option or even NOT make it a link at all without hacking code. It think this suggestion is a given and I agree.
July 12, 200519 yr That's not what he's talking about. I understand what you are saying. Here's an example from Forums.php: $this->nav_extra = "<a href='".$ibforums->base_url."showforum={$row['forum_id']}'>{$row['forum_name']}</a>"; This should be in a template bit but it's not and therefore can't be changed without changing the code in *.php files. Templates should be COMPLETE and code should never output directly. In this case I can't change the style of the <a> tag, add a onmouseover= option or even NOT make it a link at all without hacking code. It think this suggestion is a given and I agree.Glad you understand and agree :thumbsup:
July 12, 200519 yr $this->nav_extra = "<a href='".$ibforums->base_url."showforum={$row['forum_id']}'>{$row['forum_name']}</a>"; This should be in a template bit but it's not and therefore can't be changed without changing the code in *.php files. Templates should be COMPLETE and code should never output directly. In this case I can't change the style of the <a> tag, add a onmouseover= option or even NOT make it a link at all without hacking code. Yeah you can.<td class="row2">{$data['_queued_img']}<b>[b]<a href="{ipb.script_url}showforum={$data['id']}">{$data['name']}</a>[/b]</b><br /><span class="forumdesc">{$data['description']}{$data['show_subforums']}<br /><i>{$data['moderator']}</i></span>{$data['_queued_info']}</td> An example of it in the skins.
July 13, 200519 yr Try this: http://forums.invisionpower.com/index.php?...ost&pid=1209729 It worked for me, it may work for you too. What shared hosting company in their right mind allows users to access php.ini? Mine certainly doesn't, lol.
July 13, 200519 yr One that will cancel my account if I do anything to it that I shouldn't do, like making all my PHP's run with more than the predefined memory, etc. :)
Archived
This topic is now archived and is closed to further replies.