<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html">jobberBase Community - Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
	<link rel="self" href="/forum/rewrite.php"/>
	<updated>2009-02-24T15:13:12Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.jobberbase.com/forum/topic943-selectable-spotlight-jobs-modification-for-sponsored-jobs-etc.html</id>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post4294.html#p4294"/>
			<content type="html">Wow, thank you very much Chronos! (Bedankt!!)</content>
			<author>
				<name>rutger</name>
			</author>
			<updated>2009-02-24T15:13:12Z</updated>
			<id>http://www.jobberbase.com/forum/post4294.html#p4294</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3413.html#p3413"/>
			<content type="html">Chronos,
Just curious but do you think the idea of the ability to set the Sponsorship duration inside Admin would be arriving soon? It would be a good way to allow fee-based &#039;spotlighting&#039;.

For example...similar to a banner campaign but simpler...
-----------------
For Job ID: ABC123
Start: YY/MM/DD
End: YY/MM/DD
-----------------

I can create a screenshot of the Admin Spotlight function if it helps....just PM me at 169spam (at) gmail</content>
			<author>
				<name>Tokyoj</name>
			</author>
			<updated>2009-01-06T15:10:09Z</updated>
			<id>http://www.jobberbase.com/forum/post3413.html#p3413</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3289.html#p3289"/>
			<content type="html">Had some strange problem with Dreamweaver. Code on server didn&#039;t change after uploading. With Notepad++ I managed to change the code. Thanx anyway!</content>
			<author>
				<name>evertsemeijn</name>
			</author>
			<updated>2008-12-24T19:32:01Z</updated>
			<id>http://www.jobberbase.com/forum/post3289.html#p3289</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3288.html#p3288"/>
			<content type="html">Hi!

Look at the comments, I&#039;ve provided a fix!</content>
			<author>
				<name>putypuruty</name>
			</author>
			<updated>2008-12-24T18:15:23Z</updated>
			<id>http://www.jobberbase.com/forum/post3288.html#p3288</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3287.html#p3287"/>
			<content type="html">I&#039;ve noticed that in the backend the spotlight status doesn&#039;t change when I activate/ deactive the spotlight function on an ad. In the frontend though the status of the ad doe changes. Am I the only one or did I just missed a step in this mod (or is a small bug)?

[edit]Just found out that I also can&#039;t unset the spotlight function from the backend...[/edit]</content>
			<author>
				<name>evertsemeijn</name>
			</author>
			<updated>2008-12-24T17:48:09Z</updated>
			<id>http://www.jobberbase.com/forum/post3287.html#p3287</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3257.html#p3257"/>
			<content type="html">Ah, I overlooked that one. I replaced the &quot;/job&quot; in the url with &quot;/vacature&quot; to better suit the language of my site. I&#039;ll adjust the mod guide right away.</content>
			<author>
				<name>Chronos</name>
			</author>
			<updated>2008-12-22T02:40:03Z</updated>
			<id>http://www.jobberbase.com/forum/post3257.html#p3257</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3252.html#p3252"/>
			<content type="html">Not sure if anyone else has pointed this out, but I noticed this in step 4.  There&#039;s a line of code added that starts with:

&lt;a href=&quot;{$BASE_URL}vacature/{$job.id}/

I needed to change the term &quot;vacature&quot; to &quot;job&quot;, which is what my table (or maybe folder?) is called.  Not sure what it&#039;s called during default install, but that might be something you need to edit to get the spotlight links to work.  So after first updating, my job links were looking like:

/vacature/16/tester-at-gjh/

Once I changed it, they looked like this (and started working):

/job/16/tester-at-gjh/</content>
			<author>
				<name>hailpza</name>
			</author>
			<updated>2008-12-21T14:42:09Z</updated>
			<id>http://www.jobberbase.com/forum/post3252.html#p3252</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3249.html#p3249"/>
			<content type="html">Thanks for the positive replies all :) I&#039;ll adjust my post and the mod package to include your fix putypuruty, good find ^^</content>
			<author>
				<name>Chronos</name>
			</author>
			<updated>2008-12-20T23:10:24Z</updated>
			<id>http://www.jobberbase.com/forum/post3249.html#p3249</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3245.html#p3245"/>
			<content type="html">Hi!

Nice job Chronos, keep up the good work ;)

I have found a small problem: after logging in, the admin is shown the inactive jobs. If you make a job being sponsored (spotlight) but don&#039;t activate the job (so that it&#039;s not shown in the public site), if you reload the page you will notice that the &#039;star&#039; icon is not active (ie: it&#039;s not yellow) - this is pretty confusing because you don&#039;t know which jobs are sponsored (spotlight).

The fix is very simple: open _includes/class.Job.php and find the following line: [code]public function GetBasicInfoAdmin()[/code] Now do another search for: [code]return $job;[/code] Replace the following line (this is just above return $job): [code]&#039;is_active&#039; =&gt; $this-&gt;mIsActive);[/code] 
with
[code]
&#039;is_active&#039; =&gt; $this-&gt;mIsActive,
&#039;is_spotlight&#039; =&gt; $this-&gt;mIsSpotlight);
[/code]</content>
			<author>
				<name>putypuruty</name>
			</author>
			<updated>2008-12-20T19:58:47Z</updated>
			<id>http://www.jobberbase.com/forum/post3245.html#p3245</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3244.html#p3244"/>
			<content type="html">Hey Chronos - I also went through test, and so far, so good!  Thanks for your work on this feature (and the great tutorial).  I am not a coder, and everything seems to work for me.</content>
			<author>
				<name>hailpza</name>
			</author>
			<updated>2008-12-20T19:23:45Z</updated>
			<id>http://www.jobberbase.com/forum/post3244.html#p3244</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3225.html#p3225"/>
			<content type="html">@Chronos  ..awesome job! Thank you very much for this very useful solution. I think you figured out my problem and I will test it. :-) I hope the founder reacted about this. Once and again awesome job. thx for that.

@Tokyoj  ..Pity! :-) ..but I have heard that moderators have a good rapport to the founder!? ;-) Never mind when not but you might have found it easier!? You can ask him. It would help matters, if the community know about the future of jobberbase. Whats your thoughts? I think the &quot;community devs&quot; have it much easier when such things are clarified. 

thank you very much to both of you!

so long..</content>
			<author>
				<name>spliff_</name>
			</author>
			<updated>2008-12-18T17:42:05Z</updated>
			<id>http://www.jobberbase.com/forum/post3225.html#p3225</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3222.html#p3222"/>
			<content type="html">Tokyoj: That&#039;s a pretty good idea, I&#039;ll work it out in a while.. I&#039;ll try to keep it as simple as possible though, since mods like these are pretty hard to combine with core updates. Hope there&#039;ll be some sort of modding support later (though there&#039;ll most likely always be some hard coded changes needed)

spliff: I made some silly mistakes in the post, check the changes in the class.Job.php again.

- I forgot a &quot;,&quot; at the line &quot;&#039;is_spotlight&#039; =&gt; $this-&gt;mIsSpotlight,&quot; 
- I updated the whole &quot;$sql = &#039;SELECT etc&quot; block of text. 

If you&#039;re running a completely clean installation of JobberBase you can install the [url=http://www.jobberbase.com/forum/topic946-jobberbase-mod-compilation-package.html]mod package for 1.5[/url] I made (clean as in no or few adjusted files, jobs and pages etc in the database don&#039;t matter).</content>
			<author>
				<name>Chronos</name>
			</author>
			<updated>2008-12-18T16:20:03Z</updated>
			<id>http://www.jobberbase.com/forum/post3222.html#p3222</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3219.html#p3219"/>
			<content type="html">Oh but I am a wee humble servant to Monsieur Filip...and for it is he who drinks from the spring of wisdom... other words...I haven&#039;t a clue about timetables.</content>
			<author>
				<name>Tokyoj</name>
			</author>
			<updated>2008-12-18T14:24:18Z</updated>
			<id>http://www.jobberbase.com/forum/post3219.html#p3219</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3218.html#p3218"/>
			<content type="html">@Chronos, I thank you!
sorry, but I still have issues in the class.job.php!?!
Can you upload the mod files? Or is it not possible?

@Tokyoj I have seen you are moderator.. Can we reckon with implementation in the next core? I think it would be such a good idea to implemet this in the core!? ..non-disjunction? I think, your V2 spotlight Idea is nice.

Has the &quot;jobberbase&quot; project any roadmap or timetable? What next? Four months have already passed since the last update of jobberbase core. There are so many new &quot;things&quot; from the community. It would be a real pleasure to see a stable (new) version of jobberbase next. 

thx</content>
			<author>
				<name>spliff_</name>
			</author>
			<updated>2008-12-18T13:50:21Z</updated>
			<id>http://www.jobberbase.com/forum/post3218.html#p3218</id>
		</entry>
		<entry>
			<title type="html">Re: Selectable &quot;spotlight&quot; jobs modification (for sponsored jobs etc.)</title>
			<link rel="alternate" href="http://www.jobberbase.com/forum/post3217.html#p3217"/>
			<content type="html">An interesting V2 of your idea would be the ability to set the Sponsorship duration inside Admin. 
For example...similar to a banner campaign but simplier...
-----------------
For Job ID: ABC123
Start: YY/MM/DD
End: YY/MM/DD
-----------------

Then upon expiration that jobs&#039; &#039;Sponsored Status&#039; is revoked and the job is delegated to being just another job post. That would make it easy to control &#039;Premium Services&#039; or &#039;Fee based&#039; postings.
IMHO....any thoughts?</content>
			<author>
				<name>Tokyoj</name>
			</author>
			<updated>2008-12-18T12:28:11Z</updated>
			<id>http://www.jobberbase.com/forum/post3217.html#p3217</id>
		</entry>
</feed>

