Center classifieds block ?

Post Reply

Topic author
fnolan
Active Member
Posts: 15
Joined: 8. October 2010 18:58
phpBB.com User: FNolan

Center classifieds block ?

Post by fnolan »

Is there a center block to display random classifieds from Classifieds 0.8.0 ? I can't use the newest version of the phpBB Classifieds MOD on my site for some reason, the original does however work. Any help would be appreciated. :)
User avatar

Kirk
Dev
Posts: 1950
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: Center classifieds block ?

Post by Kirk »

I have a module for the version 1.0.1
You can dowload the module here http://www.quad-atv-freunde-wunsiedel.d ... =128&t=712
Follow the additional instructions.
Gruß Udo

Topic author
fnolan
Active Member
Posts: 15
Joined: 8. October 2010 18:58
phpBB.com User: FNolan

Re: Center classifieds block ?

Post by fnolan »

Kirk wrote:I have a module for the version 1.0.1
You can dowload the module here http://www.quad-atv-freunde-wunsiedel.d ... =128&t=712
Follow the additional instructions.
Thanks for the reply. I've already downloaded it but it doesn't work with the version of the Classifieds MOD I have. :(

If this is a help here's the classified.php from my version . . .

Code: Select all

$lang = array_merge($lang, array(
	'PAGE_CLASSIFIED'		=> 'Classifieds',
	'NEW_AD'				=> 'New AD',
	'BY'					=> 'by',
	'DESCRIPTION'			=> 'Description',	
	'TITLE'					=> 'Title',	
	'PRICE'					=> 'Price',
	'USERNAME'				=>	'Username',
	'DATE'					=>	'Date',
	'CAT_NAME'				=>  'Category',
	'CATEGORIES'			=>	'Categories',
	'STATUS'				=>  'Ad Status',
	'NOT_SOLD'				=>	'Not sold',
	'SOLD'					=>	'Sold',
	'CLOSED'				=>	'Closed',
	'UPLOAD_PIC'			=>	'Click to upload and image, take the code that is given to you and put it in the description!',
	'EDIT_OWN'				=>	'<p style="text-align:center"><font color="red"> <b>You can only edit your own ad!</b> </font></[>',
	'TITLE'					=>	'Ad title',
	'VIEW_ALL'				=>	'View all',
	'VIEW_ACTIVE'			=>  'View active ads',
	'USER_CONTROLS'			=>	'User Controls',
	'VIEW_OWN'				=>	'View your ads',
	'ACTIVE_ADS'			=>	'Active ads',
	'SOLD_ADS'				=>	'Sold ads',
	'CLOSED_ADS'			=>	'Closed ads',
	'ALLOW_COMMENTS'		=>	'Allow comments:',
	'EMAIL_COMMENTS'		=>	'Email on new comments:',
	'COMMENTS'				=>  'Comments',
	
	
	'LIST_AD'    			=> '1 ad',
	'LIST_ADS'    			=> '%s ads',
	'ADDED_PERMISSIONS'     => 'You have successfully added classifieds permission options to your database.',
	'DELETE_CONFIRM'		=>	'Are you sure you want to delete this ad?',
	'EDIT_CONFIRM'			=>	'Are you sure you want to edit this ad?',
	
	//errors
	
	'NO_TITLE'				=>	'Please enter a title!',
	'ONLY_NUMBERS'			=>  'Please only enter numbers in the price field!',
	'NO_TITLE_TOO_SHORT'	=>  'Title is to shot, please enter a minimum of %1s characters!',
	'NO_DESCRIPTION'		=>	'Please enter a description!',
	'NO_PRICE'				=>	'Please enter a price!',
	'AD_EXPIRED'			=>	'Sorry this ad has expired, if you are the owner of this ad please contact the Board Administrator for more information.',
	'BAD_FILE_TYPE'			=>  'The file you are trying to upload is now allowed! Please make sure the file is either one of the following types: .gif, .jpg, .png, .jpeg, .bmp',
	'BAD_THUMB_URL'			=> 'Please enter a valid URL in the thumbnail input!',
	'BAD_CATEGORY'			=> 'Please do not select a parent category, select a category that does not have a blue background!',
	
	// pm on new ad
	
	'NEW'					=> 'You posted an ad in the classifieds',
	'POSTED'				=> 'You just posted a ad in the classifieds with the title :',
	'EXPIRE'				=> 'Your Ad will expire on :',
	'INFO'					=> 'If your ad has expired without being sold please contact the board Administrator to have it revived.
If you ad has sold before being expired please edit the ad and mark it "closed" or "sold".',

	// PM on expired ad

	'NEW_EXPIRED'					=> 'Your AD has expired!',
	'YOUR_AD'						=> 'You posted an AD in the classifieds and has expired on :',
	'ASSUME'						=>	'Since your ad is still marked Active we must assume it has not sold yet! So if you wish to have the ad revived please contact the Board Administrator with the info on your ad.',
		
	'WILD_CARD'						=>	'Use * as a wildcard for partial matches.',
User avatar

Kirk
Dev
Posts: 1950
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: Center classifieds block ?

Post by Kirk »

What does not work with your version?
Gruß Udo

Topic author
fnolan
Active Member
Posts: 15
Joined: 8. October 2010 18:58
phpBB.com User: FNolan

Re: Center classifieds block ?

Post by fnolan »

Nothing does, all I get is the title bar . . .

Image

You can see the website at http://www.visitthezug.com
User avatar

Kirk
Dev
Posts: 1950
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: Center classifieds block ?

Post by Kirk »

Do you have the rights to this block checked?
Gruß Udo

Topic author
fnolan
Active Member
Posts: 15
Joined: 8. October 2010 18:58
phpBB.com User: FNolan

Re: Center classifieds block ?

Post by fnolan »

Not sure what you mean but I have it Enabled in the Portal ACP and set for all to see and have given permissions for all to view the portal via the ACP permissions. Like I said, this is the original version of the classified MOD I'm using. I tried installing the newest version but it doesn't work on my forum. Don't know why, I have PHP5 and use MySQL so it should work but couldn't figure it out so I just re-installed version 0.8.0 of the classifieds since I knew it worked. As you can see it doesn't use the "cl_price" or "cl_by" like the newest version does, it uses just "price" and "by". I believe somewhere between 0.8.0 and 0.9.1 there was a major re-write of it. Thanks for the time you're spending on this to help me. I thought I saw a portal module for the older version somewhere but can't find it even with a Google search.
User avatar

Kirk
Dev
Posts: 1950
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: Center classifieds block ?

Post by Kirk »

The older versions but they are for the portal version 1.0.4 - 1.0.6
Gruß Udo
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Center classifieds block ?

Post by archivar »

fnolan wrote: You can see the website at http://www.visitthezug.com
You have errors in root/styles/prosilver/template/overall_header.html
wrong:

Code: Select all

					<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
	<!-- ENDIF -->
				<!-- ENDIF -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>

	</div>
correctly:

Code: Select all

					<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
	<!-- ENDIF -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>
<!-- ENDIF -->

	</div>
;)
V.G. archivar
sorry for my bad english

Topic author
fnolan
Active Member
Posts: 15
Joined: 8. October 2010 18:58
phpBB.com User: FNolan

Re: Center classifieds block ?

Post by fnolan »

Kirk wrote:The older versions but they are for the portal version 1.0.4 - 1.0.6
Yes I know that, that's why I asked if there was a block/module for the old version of the classifieds.
archivar wrote:
fnolan wrote: You can see the website at http://www.visitthezug.com
You have errors in root/styles/prosilver/template/overall_header.html
wrong:

Code: Select all

					<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
	<!-- ENDIF -->
				<!-- ENDIF -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>

	</div>
correctly:

Code: Select all

					<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
	<!-- ENDIF -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>
<!-- ENDIF -->

	</div>
;)
Thanks archivar, I made the edit ;)
Post Reply

Return to “Modifications Support”