hacking b2evolution..

Posted by sergio_101 on Jul 28th, 2006
2006
Jul 28

for those of you who keep up with blog engines, you probably know right away that this blog is based on b2evolution. this is a really great engine, and is in use everywhere. that is a good thing and a bad thing. the bad thing is that you really have to keep up with spammers, as they exploit this thing day in and day out. it is a major pain, and something you have to learn to live with.. that’s okay..

i started using my blog though, as a front end to my picture of the day list. this was all fine and dandy until i started email the html pages to my list. this caused some serious problems.

first, the list was being mailed a page that was chock full of ads and crap that i didn’t want to send to my list. it also had some forms and divs that did not translate well..

what i needed was a stripped down page.

here’s what i did:

checking around on the manual, i found that you can add skin=someSkinName to override the skin of the page. this works even if you have skin switching turned off.

i took the basic skin, and edited it to suit my needs (totally stripped down) and then, when it came time to mail to my list, i just tacked &skin=basic to the end of my url..

this is MUCH better than anything i have used yet.. we’ll see what happens..

Leave a Comment




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.