Support Forums

need help adding a script into this script

This is a discussion on need help adding a script into this script within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? 4.1.x What template are you using? sigma black Please describe in detail ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 05-04-2010, 05:50 AM   #1
Customer
 
Join Date: Apr 2010
Posts: 30
Rep Power: 8
nateads.com is on a distinguished road
Question need help adding a script into this script

What version of 68 Classifieds are you running?
4.1.x

What template are you using?
sigma black

Please describe in detail the issue you are having:
pkay so i want to kno how to add another script into the page(s) page a.k.a

i would like to put phpbb right here on the page that says pages.php?page=x

any help
nateads.com is offline   Reply With Quote
Old 05-04-2010, 08:53 AM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

The contents of the pages added via the 68C admin are stored in a database and therefor its not parsed so they cant be used to hold scripts etc. You would have to manually create a page and add it to the menu.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 05-04-2010, 04:29 PM   #3
Customer
 
Join Date: Apr 2010
Posts: 30
Rep Power: 8
nateads.com is on a distinguished road
Question okay little more help!

okay so how would i go about creating a page and adding it to the menu :

and then so on is there a way to get the 68c menu bar on my scripts pages


im kinda a noob at this sort of thing please help!!!!
nateads.com is offline   Reply With Quote
Old 05-04-2010, 04:50 PM   #4
TemplateCodes
 
TemplateCodes-Mike's Avatar
 
Join Date: Apr 2010
Posts: 40
Rep Power: 8
TemplateCodes-Mike is on a distinguished road
Default

Here's a quick insert for doing this. This is based on the following assumptions:
1. You are actually using the TemplateCodes Sigma template
2. You have installed the TemplateCodes Sigma template correctly included the needed modules
3. You have installed the phpbb software script in a folder called phpbb
4. You want to have a link to your phpbb forum that is right above any of the pages that you create in your admin.

Make a copy of the file named "accordian.tpl" (so that you will have an UNMODIFIED BACKUP!!!)
Using a PLAIN TEXT EDITOR or an editor set to save in plain text and NOT add anything other than what YOU type in, open the "accordian.tpl" file.

The "accordian.tpl" file is located here:
yourclassifiedssite.com/modules/templatezones/templates/accordian.tpl

Find this code around line 32:
PHP Code:
<li><class="listing_add" href="{$smarty.const.URLS}/usercheckout.php">{$smarty.const.LANG_TPL_PLACE_AD}</a></li>
{foreach 
from=$templatepages item="entry"
Add this line of code ABOVE the {foreach ....}:
PHP Code:
<li><a href="http://yourclassifiedssite.com/phpbb/">forums</a></li
So when you're done, it looks like this:
(obviously replace "yourclassifiedssite.com" with your actual domain name)
PHP Code:
<li><class="listing_add" href="{$smarty.const.URLS}/usercheckout.php">{$smarty.const.LANG_TPL_PLACE_AD}</a></li>
<
li><a href="http://yourclassifiedssite.com/phpbb/">forums</a></li>
{foreach 
from=$templatepages item="entry"
Save the file in PLAIN TEXT upload it to the server in the same location as above and you're done. When clicked, this will then take the user to whatever your regular front home page is in your phpbb.

I can not advise you to making modifications to your phpbb script, such as adding your classifieds menu to the forum.

Hope that helps,
Mike
__________________
TemplateCodes - Complete 68 Classifieds solutions and more
TemplateCodes-Mike is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add ads with 'x' php script ESVE Pre Sales Questions 9 10-11-2008 12:40 PM
Banner Script centinel3 Modules / Plugins / Modifications 8 08-11-2008 11:09 PM
Script Work - Looking For Help seymourjames Technical Support 0 07-16-2008 09:35 AM


All times are GMT -4. The time now is 06:38 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0